Skip to content
SQL injection Write-up Intermediate

How I found Blind SQL Injection just by browsing and getting a unique URL

A POST request found while browsing contained parameters that were passed into a database query without safe handling, so a time-based payload made the server pause for five seconds. The hunter then used an automated tool to extract the current database name, though a firewall blocked some of the attempts.

Jawad Mahdi Follow

Published on medium.com

Hello Guys! I am a part-time bug hunter at Bugcrowd and I will share how I found a Blind SQL INJECTION manually just by browsing and checking http history in BURPSUITE.

Jawad Mahdi, on 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 concatenated user-supplied parameter values directly into SQL queries instead of using parameterised queries.

Impact

An attacker could read data from the database, though a firewall blocked some of the automated attempts and only the current database name is shown as retrieved.

What the attacker needed

Invited to a private programme; proxy to capture requests; automated injection tool

How it was found

  1. Browse the site through a proxy so all requests are recorded in the HTTP history.
  2. Look through the history for an unusual POST request that is not normally reachable.
  3. Send a time-based payload in each parameter and watch for a five-second delay.
  4. Copy the working request and run an automated injection tool against it.
  5. Adjust the tool's options and tamper script to get past the firewall and read the database name.

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.

A database is where a site keeps its data, and the site asks it questions using a special language called SQL. If the site builds those questions by pasting in whatever a user typed, an attacker can add extra instructions. Here the attacker added a command that makes the database wait five seconds, which proves the injected instructions actually ran.

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 Jawad Mahdi

View all

2 more disclosed reports, 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.