HexBrain

U.S. Dept Of Defense · Report #723044

SQL INJECTION in https://████/██████████

Validstatus
mediumseverity
6upvotes
29 Apr 2022disclosed

How it was found

Bug is : Sql injection in https://██████████/████████ via Referer I've confirmed the vulnerability using sleep SQL queries with various arithmetic operations. The sleep command combined with the arithmetic operations will cause the server to sleep for various amounts of time depending on the result of the arithmetic operation.

Proof of concept :

1- go to https://██████████/████████ and capture Request 2- put this payload in Referer '+(selectfrom(select(sleep(66)))a

Impact

Impact :

An attacker can manipulate the SQL statements that are sent to the MySQL database and inject malicious SQL statements. The attacker is able to change the logic of SQL statements executed against the database.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original