Blind SQL iNJECTION
A blind SQL injection was found in a URL-encoded POST parameter on a DoD web application. An attacker could use boolean-based tests to infer database contents and potentially gain access to the backend database server.
- Triaged in 3 days
- Fixed in 3 months
- Disclosed after 4 months
Hi DoD Secuirty team , i found Blind SQL Injection in this below domain https://███████ Proof of concept: Vuln URL:https://██████████/██████ Pooc:
URL encoded POST input ███ was set to -1' OR 321=6 AND 1=1 or '4mEwSPwJ'='
Tests performed: -1' OR 1=1 or '4mEwSPwJ'=' => TRUE -1' OR 2=4 or '4mEwSPwJ'=' => FALSE -1' OR 32<(1+2+4) or '4mEwSPwJ'=' => TRUE -1' OR 32>(1+2+4) or '4mEwSPwJ'=' => FALSE Poc video : ███
Impact
It gives the attacker access and control over the backend database server
System Host(s)
██████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
..Vuln URL:https://██████/█████ Pooc:
URL encoded POST input ███ was set to -1' OR 321=6 AND 1=1 or '4mEwSPwJ'='
Tests performed: -1' OR 1=1 or '4mEwSPwJ'=' => TRUE -1' OR 2=4 or '4mEwSPwJ'=' => FALSE -1' OR 32<(1+2+4) or '4mEwSPwJ'=' => TRUE -1' OR 32>(1+2+4) or '4mEwSPwJ'=' => FALSE Poc video : █████
Suggested Mitigation/Remediation Actions
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
Root cause
Likely the POST parameter is concatenated into a SQL query without parameterisation or proper escaping.
Impact
The reporter claims it gives the attacker access and control over the backend database server, though the proof only shows boolean inference.
What the attacker needed
Network access to the target URL
How it was found
- Identify the vulnerable URL and the POST parameter.
- Send a true condition in the parameter and observe a true response.
- Send a false condition and observe a false response.
- Repeat with arithmetic comparisons to confirm boolean-based blind 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 user input is inserted into a database query without proper handling, letting an attacker change the query's meaning. 'Blind' means the attacker cannot see query results directly, so they ask true/false questions and watch how the page responds. Here the tester sent crafted values in a form field and compared true versus false responses to confirm the injection.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.