Skip to content
SQL injection Disclosed report Beginner

████████ SQL

The report claims a SQL injection vulnerability in the curID parameter of a POST request to requestaccount.php. An attacker could inject SQL statements, potentially compromising the database.

manshum12 Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 3 months
  • Disclosed after 15 months

hi , i think i find a SQL in https://██████████/

POST /requestaccount.php? HTTP/1.1 Host: █████ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://█████████/requestaccount.php? Content-Type: application/x-www-form-urlencoded Content-Length: 98 Cookie: _ga=GA1.2.797825707.1531527624; PHPSESSID=h46aobnksi6rqe0dki7b34thn10qqf7j; TS0136a92d=0141bba1871c30b60b2555c9145e093817841b5f20a39085c1ff77e556280571aa32dcc2ebf57d0d397334f8207e32f1153478dbc7; Hm_lvt_dde6ba2851f3db0ddc415ce0f895822e=1531606739; Hm_lpvt_dde6ba2851f3db0ddc415ce0f895822e=1531623251 Connection: close Upgrade-Insecure-Requests: 1

fname=&lname=&uname=&email=&phone=&dsn=&cmdName=&title=&rank=&rate=Not+specified&message=&curID=-1

SQL vulnerable in curID=-1' if you puy ' u will see screenshot 49 and 48

Impact

SQL injection is a code injection technique, used to attack data-driven applications, in which nefarious SQL statements are inserted into an entry field for execution

The original report as published on HackerOne, by manshum12. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could inject SQL statements, which may affect the database.

What the attacker needed

None

How it was found

  1. Send a POST request to requestaccount.php with the curID parameter set to -1'.
  2. Observe the response (screenshots 49 and 48) for signs of SQL injection.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

SQL injection is when a website puts user input directly into a database command without checking it. By adding a quote mark, an attacker can break the command and make the database do something else, like reveal private data.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by manshum12

View all

4 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.