Skip to content

In-depth lesson · Blind and time-based SQL injection

Year by year

What the disclosed Blind and time-based SQL injection reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 51 to 77 of 77

2019

9 points

New this year4

  1. Header-based injection through User-Agent and Referer appears in reports from this year onwards.

    Seen in 1 report
  2. Blind injection inside a LIMIT clause where normal syntax is restricted is first seen.

    Seen in 1 report
  3. Unauthenticated test API web services with a browsable WSDL appear as injection points.

    Seen in 1 report
  4. Escalation of blind injection to remote code execution through database command features such as xp_cmdshell is described.

    Seen in 1 report

Kept working5

  1. DoD site parameters, including qsSearch pages, were tested for blind injection.

    Seen in 2 reports
  2. Tamper scripts and encoding variations were tried to get past a WAF when blind injection was suspected.

    Seen in 1 report
  3. A User-Agent containing a sleep expression was sent and response times compared with a zero value.

    Seen in 1 report
  4. Unauthenticated browsable WSDL interfaces were found and their functions tested for blind injection.

    Seen in 1 report
  5. An apostrophe encoded as an XML entity was sent in a field to reach the SQL layer, then time-based tests followed.

    Seen in 1 report

2018

9 points

New this year4

  1. Boolean-based inference appears in several reports from this year onwards.

    Seen in 4 reports
  2. GraphQL endpoints such as form UUIDs and order arguments appear as injection points.

    Seen in 2 reports
  3. Cookies set on a login page were fuzzed for time-based injection, watching for a 200 response instead of the usual redirect.

    Seen in 1 report
  4. An injected SQL expression was hidden inside a JSON array form field and responses compared for true and false conditions.

    Seen in 1 report

Kept working5

  1. Hunters compared true and false conditions to infer data bit by bit when no error was shown.

    Seen in 4 reports
  2. Conditional sleep expressions were used and the delay checked against the requested seconds.

    Seen in 2 reports
  3. An order_id parameter was sent a boolean SQL expression and the response length change watched.

    Seen in 1 report
  4. A crafted order parameter with a CASE expression was sent to a milestones endpoint to sort on a database character.

    Seen in 1 report
  5. An integer was incremented before a time-delay payload on each request to avoid database result caching.

    Seen in 1 report

2017

6 points

New this year2

  1. Order and sort parameters passed to ORM reorder methods appear as injection points in the disclosed reports.

    Seen in 1 report
  2. An unauthenticated AJAX preview action in a WordPress form plugin is first seen as an entry point.

    Seen in 1 report

Kept working4

  1. DoD site parameters, including qsSearch pages, were tested for blind injection.

    Seen in 1 report
  2. News subdomain parameters were tested for time-based blind injection.

    Seen in 1 report
  3. An unauthenticated AJAX preview action in a WordPress form plugin was reached and its shortcode order parameters injected.

    Seen in 1 report
  4. sqlmap with custom tamper options was run against a suspected injectable parameter.

    Seen in 1 report

2016

3 points

Kept working3

  1. Hunters confirmed blind injection by measuring response delays from conditional sleep expressions in URL parameters.

    Seen in 2 reports
  2. A marketing email unsubscribe link carrying a user identifier was tested for time-based injection by comparing delays.

    Seen in 1 report
  3. Tracking subdomains reached from marketing emails were probed for injectable identifiers.

    Seen in 1 report