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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-34226 PoC — Visitor Management System 安全漏洞

Source
Associated Vulnerability
Title:Visitor Management System 安全漏洞 (CVE-2024-34226)
Description:Visitor Management System是一个访客管理系统。 SourceCodester Visitor Management System 1.0版本存在安全漏洞,该漏洞源于存在SQL注入漏洞,允许攻击者通过id参数执行任意SQL命令。
Description
CVE-2024-34226 | SQL injection
Readme
# Visitor Management System 1.0
#### Submitter: Kha Do

## Vulnerability
SQL injection

## Description
SQL injection vulnerability in /php-sqlite-vms/?page=manage_visitor&id=1 in SourceCodester Visitor Management System 1.0 allow attackers to execute arbitrary SQL commands via the **id** parameters.

## Affected component
Path URL: /php-sqlite-vms/?page=manage_visitor&id=1

Parameter: **&id=**[inject here]

## Impact
This vulnerability allow attackers allow attackers to execute arbitrary SQL commands via the **id** parameters

## POC
When searching country with the incorrect condition `1' and '1'='2`, no results are returned: 
![incorrect](https://github.com/dovankha/CVE-2024-34226/assets/63991630/09b2babb-d571-4cdf-94c4-8bea34c206da)


And, when searching country with the incorrect condition `1' and '1'='1`, all results are returned: 

![correct](https://github.com/dovankha/CVE-2024-34226/assets/63991630/b55b2050-b2a5-4c32-b6ba-d102132c6a49)

File Snapshot

[4.0K] /data/pocs/d777cbc678323e21833fcb21c6ea8767d1a1b23f └── [ 958] 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.