Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-34225 PoC — Computer Laboratory Management System 安全漏洞

Source
Associated Vulnerability
Title:Computer Laboratory Management System 安全漏洞 (CVE-2024-34225)
Description:Computer Laboratory Management System是一个计算机实验室管理系统。 Sourcecodester Computer Laboratory Management System 1.0版本存在安全漏洞,该漏洞源于存在跨站脚本漏洞,允许远程攻击者注入任意Web脚本或HTML。
Description
CVE-20240-34225 | Cross Site Scripting
Readme
# Computer Laboratory Management System using PHP and MySQL 1.0
#### Submitter: Kha Do

## Vulnerability
Cross Site Scripting

## Description
Cross Site Scripting vulnerability in php-lms/admin/?page=system_info in Computer Laboratory Management System using PHP and MySQL 1.0 allow remote attackers to inject arbitrary web script or HTML via the name, shortname parameters.

## Affected component
Path URL: php-lms/admin/?page=system_info

Parameters: System name (**name**), System short name (**shortname**)

## POC

Input payload `<script>alert(1337)</script>` into System name **name** and save it.
![system_name](https://github.com/dovankha/CVE-2024-34225/assets/63991630/6daf37fa-0e03-4c1f-880b-d43649e4ba78)


After saving, the pop-up windows like will appear:
![system_name_popup](https://github.com/dovankha/CVE-2024-34225/assets/63991630/e805bbc6-4ebb-4e86-a2cf-c7df485a2878)

File Snapshot

[4.0K] /data/pocs/1affa2b6162bafabf246ec22cd344addf0bfb2bc └── [ 888] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.