POC详情: a633d10de5529d09d6d66b9b404301eeb8fe1652

来源
关联漏洞
标题: Sourcecodester Cab Management System 安全漏洞 (CVE-2024-51031)
描述:Sourcecodester Cab Management System是Sourcecodester开源的一个出租车管理系统。 Sourcecodester Cab Management System 1.0版本存在安全漏洞,该漏洞源于manage_account.php中的First Name、Middle Name和Last Name参数包含一个跨站脚本漏洞。
介绍
# CVE-2024-51031

### Description
A Cross-site Scripting (XSS) vulnerability in manage_account.php in Sourcecodester Cab Management System 1.0 allows remote authenticated users to inject arbitrary web scripts via the "First Name," "Middle Name," and "Last Name" fields.

### Vulnerability Type
Cross Site Scripting (XSS)

### Vendor of Product
Sourcecodester

### Affected Product Code Base: 
https://www.sourcecodester.com/php/15180/cab-management-system-phpoop-free-source-code.html - 1.0

### Affected Component: 
Cross Site Scripting (XSS) vulnerability in Sourcecodester Cab Management System 1.0 allows remote attackers to run arbitrary code via the firstname, middlename & lastname input fields on the manage_account.php page.

### Attack Vectors:
1) Set up the application locally and log in with the provided credentials for sample client access.
2) Navigate to the "Manage Account" section by clicking on the profile avatar.
3) Inject the payload ``<svg onload=alert(document.cookie)>`` into the "First Name", "Middle Name", and "Last Name" fields. Complete the remaining form details and click the "Update Details" button.
4) Upon receiving the message "Account Details have been updated successfully," log in to the admin portal. When accessing the "Registered Clients" page, a pop-up displaying the admin's cookie will appear, confirming a successful Stored Cross-Site Scripting (XSS) attack.


### Reference: 
1) https://www.sourcecodester.com
2) https://www.sourcecodester.com/php/15180/cab-management-system-phpoop-free-source-code.html
3) https://portswigger.net/web-security/cross-site-scripting
文件快照

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