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
- median public bounty
- $2,000
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.
Seen in these reports22
-
$4,000 -
$2,000 Critical -
$1,000 Critical
Show 5 moreShow fewer
-
$1,000 Critical -
Critical -
Critical -
$4,134 Critical -
$2,500 Medium
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.
Seen in these reports28
-
$1,000 Critical -
$1,000 -
$4,500 Critical
Show 5 moreShow fewer
-
$4,000 -
$2,000 Critical -
$1,000 -
$1,000 Critical -
Critical
Year by year
11 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2001 | 2 |
|---|---|
| 2011 | 1 |
| 2014 | 2 |
| 2015 | 1 |
| 2016 | 9 |
| 2017 | 8 |
| 2018 | 13 |
| 2019 | 19 |
| 2020 | 23 |
| 2021 | 28 |
| 2022 | 19 |
| 2023 | 17 |
| 2024 | 34 |
| 2025 | 61 |
| 2026 | 79 |
-
2026
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.
Kept working5
- DoD site parameters, including qsSearch pages, were tested for blind injection.
- URI path segments on government sites were tested for blind injection.
-
2025
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.
-
2024
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.
Earlier years8
Where it is found
33The features and places the reports found it in, most-reported first.
-
DoD site parameters and qsSearch pages.
Seen in 19 reports
-
URL path segments used directly in queries.
Seen in 4 reports
-
GraphQL parameters such as form UUIDs and order arguments.
Seen in 3 reports
-
User-Agent and Referer headers that are passed into queries.
Seen in 3 reports
-
Ad server zone-include and admin search PHP files.
Seen in 3 reports
Technologies in these reports16
Root causes
10The mistakes in the code or configuration behind the reports.
-
User input is concatenated directly into SQL queries instead of using parameterised queries.
Seen in 19 reports
-
GraphQL parameters are not sanitised before building SQL queries, unlike ordinary input fields.
Seen in 1 report
-
An apostrophe is escaped only at the XML layer but not at the SQL layer.
Seen in 1 report
-
A test API service lacked authentication and input sanitisation.
Seen in 1 report
-
The database had command execution features enabled.
Seen in 1 report
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-
Seen in 19 reports
-
Seen in 3 reports
-
Seen in 1 report
API and GraphQL endpoints
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
WAF evasion and payload crafting
of 3 ticked-
Seen in 9 reports
-
Seen in 7 reports
-
Seen in 2 reports
Login and authentication flows
of 3 ticked-
Seen in 1 report
-
Critical
-
Bypasses and variations
15How reports got past filters, encoders and other defences.
-
Inject through URL path segments rather than query strings.
Seen in 4 reports
-
Inject through headers such as User-Agent and Referer rather than ordinary parameters.
Seen in 3 reports
-
Use tamper scripts and encoding variations to get past a web application firewall.
Seen in 2 reports
-
Escalate a blind injection to remote code execution through database command features.
-
Escalate a blind injection to account takeover by extracting credentials.
Seen in 1 report
Payouts
28 paidPublic 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.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| 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 |
Highest-paid reports5
-
$20,000
-
$5,000 -
$4,500 Critical -
$4,500 High -
$4,324
Typical fixes
9How programs fixed it, as the reports describe.
-
Use parameterised queries or bound parameters instead of concatenating input when constructing queries.
Seen in 19 reports
-
Sanitise GraphQL parameters in the same way as ordinary input fields.
Seen in 1 report
-
Require authentication on test API services and sanitise their input.
Seen in 1 report
-
Disable database command execution features such as xp_cmdshell.
Seen in 1 report
-
Sanitise and parameterise caller-supplied values in content provider methods.
Seen in 1 report
Tips for beginners
14Advice for a first hunt, drawn from the reports.
-
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
-
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
-
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
-
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
-
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
Guides and techniques
The best explainers, cheat sheets and technique posts on Blind and time-based SQL injection, from around the web.
-
SQLi: The ultimate Bug Bounty guide to exploiting SQL injection vulnerabilitiesExplains basic and advanced SQL injection including blind, time-based and out-of-band techniques with payload tailoring advice.
Explainer yeswehack.com
-
How to escalate a SQL injection if there is a strict WAF?Ways to push a SQL injection further when a strict web application firewall blocks obvious payloads.
Technique medium.com
-
Hacker tools: SQLMap – Finding SQLi like a pro.Guides installing SQLMap and using its detection engine to find and exploit SQL injection points.
intigriti.com
-
關於SQL Injection的那些奇淫異巧Orange Tsai shares advanced SQL injection tricks and payloads in a slide deck.
Technique blog.orange.tw
-
Turning Blind Error Based SQL Injection into Exploitable Boolean One Part 2: MySQLShows how to convert blind error based SQL injection in MySQL into a boolean oracle for data extraction.
Technique ozguralp.medium.com
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.