目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-51430 PoC — SourceCodester Online Diagnostic Lab Management System 安全漏洞

来源
关联漏洞
标题: SourceCodester Online Diagnostic Lab Management System 安全漏洞 (CVE-2024-51430)
Description:SourceCodester Online Diagnostic Lab Management System是SourceCodester开源的一个在线诊断实验室管理系统。 SourceCodester Online Diagnostic Lab Management System v.1.0版本存在安全漏洞。远程攻击者利用该漏洞通过 diagnostic/add-test.php 组件上的Test Name参数执行任意代码。
介绍
# CVE-2024-51430

### Vulnerability Type
Cross-Site Scripting (XSS)

### Description
Cross Site Scripting vulnerability in online diagnostic lab management system using php v.1.0 allows a remote attacker to execute arbitrary code via the Test Name parameter on the diagnostic/add-test.php component

### Vendor of Product
Sourcecodester

### Affected Product Code Base: 
https://www.sourcecodester.com/php/15667/online-diagnostic-lab-management-system-using-php-and-mysql-free-download.html - 1.0

### Affected Component: 
The "Test Name" parameter on the diagnostic/add-test.php page is vulnerable.

### Attack Vectors:
The Online Diagnostic Lab Management System has a security problem called Cross-Site Scripting (XSS) in the Borrower section. This happens because the system doesn   t clean user inputs properly, allowing harmful JavaScript code to be added. For example, if someone enters `<script>alert(1)</script>` in the "Test Name" field, the system stores this code. When the "Manage Test" section is revisited, the code runs and shows an alert message. This could allow attackers to steal information or take unauthorized actions in the user's browser.

### Steps to Reproduce:
1. Open the Online Diagnostic Lab Management System on your computer.
2. Log in to the application with the provided credentials.
3. Go to the "Test" submenu and click  on "Add Test."
4. Fill in the "Test Name" field with the XSS payload which is "<script>alert(1)</script>".
5. Once Submitted, Click on the "Manage Test", and you will see the JavaScript alert pop-up on the page.

### Reference: 
1. https://www.sourcecodester.com/
2. https://owasp.org/www-project-top-ten/2017/A7_2017-Cross-Site_Scripting_(XSS)
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →