Skip to content
SQL injection Disclosed report Intermediate

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.

1337n0x Follow

Originally disclosed on HackerOne

  • 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

The original report as published on HackerOne, by 1337n0x. 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

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

  1. Identify the vulnerable URL and the POST parameter.
  2. Send a true condition in the parameter and observe a true response.
  3. Send a false condition and observe a false response.
  4. 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.

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.