POC详情: e2b6c247ca6ccfdbd4f991fa754b431bfb6ed2f5

来源
关联漏洞
标题: Sourcecodester Vehicle Service Management System 跨站脚本漏洞 (CVE-2021-46072)
描述:Sourcecodester Vehicle Service Management System是开源的一个PHP 项目。用于汽车维修/服务店或企业的简单 Web 应用程序。 Sourcecodester Vehicle Service Management System 1.0版本存在跨站脚本漏洞,该漏洞源于该漏洞源于软件的登录面板的服务列表部分缺少有效的过滤和转义,导致存储型跨站点脚本漏洞。
描述
CVE-2021-46072 - A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Service List Section in login panel.
介绍
# CVE-2021-46072

### Exploit Title: Vehicle Service Management System - 'Service List' Stored Cross Site Scripting (XSS)
### Exploit Author: <a href="https://www.plsanu.com">P.L.Sanu</a>
### CVE: CVE-2021-46072
### CVSS: 4.8 MEDIUM
### References: 
- https://www.plsanu.com/vehicle-service-management-system-service-list-stored-cross-site-scripting-xss
- https://nvd.nist.gov/vuln/detail/CVE-2021-46072
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46072

### Description:
A Stored Cross Site Scripting (XSS) vulnerability exists in Vehicle Service Management System 1.0 via the Service List Section in login panel.

### Exploit:
1. Login to the admin panel http://localhost/vehicle_service/admin
2. Navigate to Service List section and click on Create New button. 
3. Inject the below payload in Service Name & Description input field.

### Payload:
```html
 "><script>alert(document.cookie)</script>
```

4. Click on Save button.
5. Malicious javascript code triggered.

### Impact:
An attacker can able to inject malicious JavaScript code in Service List Section.

### Mitigation:
It is recommended to sanitize all the input fields throughout the application.
文件快照

[4.0K] /data/pocs/e2b6c247ca6ccfdbd4f991fa754b431bfb6ed2f5 └── [1.1K] README.md 0 directories, 1 file
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。