Skip to content

In-depth lesson · technique

Blind and time-based SQL injection

What every disclosed Blind and time-based SQL injection report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.

reports cited in this lesson
85

Overview

What it is and why programs pay for it.

Blind and time-based SQL injection is a class of SQL injection where the application does not return query results or database errors to the attacker, so the hunter infers information from indirect signals. The two common signals are differences in the response (boolean blind, where a true condition and a false condition produce different content, status codes or lengths) and delays (time-based, where a conditional sleep expression makes the database pause only when a condition holds). The evidence shows this pattern across a wide range of targets, from government site parameters and search pages to GraphQL arguments, headers and cookies.

Programs care because blind injection is still full SQL injection. Once a hunter can ask the database true or false questions or time its responses, the same channel can be used to read data, and the evidence shows escalations to credential extraction and account takeover, and to remote code execution where database command features were enabled. Even where extraction is slow, the underlying root cause is the same as any injection: user input concatenated into queries rather than parameterised.

It turns up most often in ordinary parameters that feed queries: site search functions and search APIs, URL path segments used directly in queries, login endpoints and forms, order and sort parameters passed to ORM reorder methods, entity and order identifiers, and identifiers in unsubscribe links. It also appears in less obvious places such as User-Agent and Referer headers, cookies set on a login page, GraphQL parameters, JSON array form fields, DELETE request parameters, LIMIT clauses, and legacy CGI scripts with GET parameters.

How it works

The mechanics, as the reports show them.

The starting point is a value the application takes from the request and places into a SQL query without proper parameterisation. The evidence lists this as the root cause in many reports: input concatenated directly into queries instead of using parameterised queries, GraphQL parameters not sanitised like ordinary fields, content provider methods passing caller-supplied parameters straight into statements, and an escaper that re-escaped its own output so escaping could be undone.

In a boolean blind test, the hunter sends a condition that should be true and then one that should be false, and compares the responses. Differences can be in content, response length or status code. The evidence describes comparing true and false conditions to infer data bit by bit when no error is shown, sending a true then a false condition in an entity identifier and comparing status codes, and sending a boolean expression in an order identifier and watching for a change in response length.

In a time-based test, the hunter sends a conditional sleep expression and measures whether the response is delayed by roughly the requested amount. The evidence describes using conditional sleep expressions and confirming the delay matches the requested seconds, and sending a sleep expression in a User-Agent that evaluates to a number and comparing response times with a zero value. Because the signal is timing, the technique works even when the application returns nothing useful.

What makes it possible is that the query is built from untrusted input and the database executes the injected expression. The evidence shows this happening through many input channels: URL path segments rather than query strings, headers such as User-Agent and Referer, cookies, JSON array form fields, and parameters inside a LIMIT clause where normal syntax is restricted. It also shows defences being worked around with tamper scripts and encoding variations against a web application firewall, and with an integer incremented before the payload to avoid database caching.

Once a signal is confirmed, the same channel is used to ask further questions and extract data. The evidence describes using blind injection to extract credentials and attempt account takeover, and escalating to remote code execution through database command features such as xp_cmdshell where they are enabled. It also shows chaining, for example an XSS in a WordPress translation plugin combined with a blind injection to escalate impact, and leaking query values through ICMP packet sizes on a service that pings hosts.

Year by year

11 years

What each year's disclosed reports show, newest first. A year with few reports says less.

Reports per yearPeak 2026: 79
Reports per year
20012
20111
20142
20151
20169
20178
201813
201919
202023
202128
202219
202317
202434
202561
202679
  1. 2026

    79 reports

    New this year4

    • Route confusion in REST batch requests was used to reach an injectable query.
    • Double-escaping in a connector's string escaper was exploited to re-enable injection.
    • Request precedence between overlapping input sources was exploited for injection through global input registration.
    and 1 more

    Kept working5

    • DoD site parameters, including qsSearch pages, were tested for blind injection.
    • URI path segments on government sites were tested for blind injection.
    and 3 more
  2. 2025

    61 reports

    New this year2

    • Ad server zone-include and admin search PHP files appear as injection points.
    • Photojournal site parameters appear as injection points.

    Kept working2

    • DoD site parameters, including qsSearch pages, were tested for blind injection.
    • A User-Agent containing a sleep expression was sent and response times compared with a zero value.

    Reports from 20254

    Every point and report from 2025
  3. 2024

    34 reports

    New this year2

    • URI path segments on government sites are tested for blind injection.
    • An invite_code parameter on an OIDC proxy service appears as an injection point.

    Kept working2

    • DoD site parameters, including qsSearch pages, were tested for blind injection.
    • True and false conditions were compared to infer data bit by bit when no error was shown.
Every point, year by year

Where it is found

33

The features and places the reports found it in, most-reported first.

  1. DoD site parameters and qsSearch pages.

    Seen in 19 reports
  2. URL path segments used directly in queries.

    Seen in 4 reports
  3. GraphQL parameters such as form UUIDs and order arguments.

    Seen in 3 reports
  4. User-Agent and Referer headers that are passed into queries.

    Seen in 3 reports
  5. Ad server zone-include and admin search PHP files.

    Seen in 3 reports
View all 33

Root causes

10

The mistakes in the code or configuration behind the reports.

  1. User input is concatenated directly into SQL queries instead of using parameterised queries.

    Seen in 19 reports
  2. GraphQL parameters are not sanitised before building SQL queries, unlike ordinary input fields.

    Seen in 1 report
  3. An apostrophe is escaped only at the XML layer but not at the SQL layer.

    Seen in 1 report
  4. A test API service lacked authentication and input sanitisation.

    Seen in 1 report
  5. The database had command execution features enabled.

    Seen in 1 report
View all 10

Things to try

The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.

ticked in this lesson

Search and query parameters

of 3 ticked
More in Search and query parameters

API and GraphQL endpoints

of 3 ticked
More in API and GraphQL endpoints

WAF evasion and payload crafting

of 3 ticked
More in WAF evasion and payload crafting

Login and authentication flows

of 3 ticked
More in Login and authentication flows
View more things to try

Bypasses and variations

15

How reports got past filters, encoders and other defences.

  1. Inject through URL path segments rather than query strings.

    Seen in 4 reports
  2. Inject through headers such as User-Agent and Referer rather than ordinary parameters.

    Seen in 3 reports
  3. Use tamper scripts and encoding variations to get past a web application firewall.

    Seen in 2 reports
  4. Escalate a blind injection to remote code execution through database command features.

    Seen in 2 reports
  5. Escalate a blind injection to account takeover by extracting credentials.

    Seen in 1 report
View all 15

Payouts

28 paid

Public bounties in US dollars, from the data. 28 of 404 reports show an amount.

a quarter paid up to
$1,000
median
$2,000
three quarters paid up to
$3,625
highest
$20k

One in ten paid reports was paid $4,500 or more.

SeverityReportsPaidMedianHighest
Critical 48 9 $2,000 $4,500
High 42 2 $3,000 $4,500
Medium 27 2 $1,400 $2,500
Informational 1 0 None paid None
Unrated 286 15 $1,400 $20k

Typical fixes

9

How programs fixed it, as the reports describe.

  1. Use parameterised queries or bound parameters instead of concatenating input when constructing queries.

    Seen in 19 reports
  2. Sanitise GraphQL parameters in the same way as ordinary input fields.

    Seen in 1 report
  3. Require authentication on test API services and sanitise their input.

    Seen in 1 report
  4. Disable database command execution features such as xp_cmdshell.

    Seen in 1 report
  5. Sanitise and parameterise caller-supplied values in content provider methods.

    Seen in 1 report
View all 9

Tips for beginners

14

Advice for a first hunt, drawn from the reports.

  1. Remember the fix when writing up. The evidence shows the correct remedy is parameterised queries or bound parameters, sanitising GraphQL parameters like ordinary fields, requiring authentication on test services and preview actions, and disabling database command execution features, so frame your report around the root cause rather than the payload.

    Seen in 9 reports
  2. Do not stop at query strings. Test URL path segments used directly in queries, and test headers such as User-Agent and Referer, and cookies set on a login page. The evidence shows all of these carrying injectable values, and they are easy to overlook.

    Seen in 8 reports
  3. Start with the obvious query-backed features: site search functions and search APIs, login endpoints and forms, order and sort parameters, and entity or order identifiers. The evidence shows these are common homes for blind injection, so they are a sensible first pass before moving to stranger inputs.

    Seen in 7 reports
  4. When you suspect time-based injection, confirm the delay scales with the requested seconds rather than assuming a single slow response means anything. The evidence describes confirming the delay matches the requested seconds, and comparing response times against a zero value.

    Seen in 7 reports
  5. If no error is shown, switch to boolean comparisons: send a true condition and a false condition and compare content, response length or status code. The evidence shows this working on entity and order identifiers and on leaderboard user identifiers.

    Seen in 6 reports
View all 14

Guides and techniques

The best explainers, cheat sheets and technique posts on Blind and time-based SQL injection, from around the web.

Keep learning

Where this lesson fits, and what to read next.

The whole class

How this is made: our model read every listed Blind and time-based SQL injection report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 26 Nov 2026 from 97 reports. All Blind and time-based SQL injection reports.