Skip to content
SQL injection Write-up Beginner

How I Found a SQL Injection on an IP in Just 20 Minutes

An internal dashboard was exposed on a public IP address and a data-filtering parameter was passed straight into database queries. By changing that parameter's value, the author confirmed a SQL injection that let user input influence backend behaviour.

medium.com

Published on medium.com

It started with a simple IP address. No domain, no login page — just a basic Apache default page.

Amber sharma, 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

Impact

The exposed internal application and the injection could let an attacker read or alter the employee task data held in the database.

What the attacker needed

Internal app reachable on a public IP; no authentication on the dashboard

How it was found

  1. Start from an exposed IP address showing an Apache default page.
  2. Run directory fuzzing to find hidden paths.
  3. Open the discovered dashboard endpoint showing employee task data.
  4. Test the dashboard endpoints manually and note the data-filtering parameter.
  5. Change the parameter value and observe the response change.
  6. Test further inputs to confirm SQL injection.

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 SQL injection is when a website puts something you typed straight into a database command, so special characters can change what the database does. Here an internal staff dashboard was reachable from the open internet, and one filter field was not checked before being used in a query. The author noticed the page's answer changed when the value changed, which is the usual sign of this flaw.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

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.