Skip to content
SQL injection Write-up Intermediate

Critical Blind Time-Based Injection Hiding Behind Normal Response

A parameter was vulnerable to blind time-based SQL injection, which produced no errors or visible changes in the response. An attacker could make the database pause for a chosen number of seconds and then use that timing signal to extract database names, table structures, privileges and version information.

Xynos Follow

Published on ritikver22000.medium.com

Now here’s the interesting twist: this wasn’t your typical “throw a single quote, watch it break” SQL injection. In fact, during initial testing, nothing reacted to standard ‘ or “ payloads — no errors, no weird responses, no crashes.

Xynos, on ritikver22000.medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the application built a database query by concatenating user input without parameterisation, and errors were suppressed so only timing revealed the injection.

Impact

An attacker could extract database names, table structures, user privileges and version information, and potentially more data from the same database.

What the attacker needed

Network access to the vulnerable endpoint; an injectable parameter

How it was found

  1. Send ordinary single-quote and double-quote characters and observe that nothing changes.
  2. Send a time-delay expression wrapped in quote and URL-encoding characters and observe a long pause.
  3. Repeat with shorter delay values and confirm the response time matches each value.
  4. Copy the full request, mark the injectable parameter and run an automated SQL injection tool against it.
  5. Extract database names, table structures, user privileges and version information.

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 write-up has not been written yet. The Original tab links to the source.

SQL injection is when user input is treated as part of a database command. In this blind variant the page never shows an error or any data, so the tester asks the database to wait a few seconds and watches whether the response is delayed. A delay proves the injected command ran, and repeating it with different questions lets an attacker read information one answer at a time.

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 Xynos

View all

1 more disclosed report, best first.

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.