Skip to content
SQL injection Write-up Intermediate

Admin Panel Accessed Via SQL Injection…

A SQL injection vulnerability was found in a URL on the target website, allowing extraction of admin credentials from the database. The attacker then located a separate login panel on a subdomain and used those credentials to gain admin access.

Ratnadip Gajbhiye Follow

Published on medium.com

I’m back again with a new write-up... Again this article is about Admin Panel Access…( This is my 4th write-up on Admin Access more on the way…) 🤩

Ratnadip Gajbhiye, 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

An attacker could extract admin credentials from the database and use them to access an admin panel, potentially leading to full control of the affected system.

What the attacker needed

Access to the target website; use of automated tools

The fix

The SQL injection vulnerability was fixed after 25 days, as stated in the report.

How it was found

  1. Gather URLs for the target domain using waybackurls and gau.
  2. Filter URLs for potential SQL injection using gf patterns.
  3. Check which URLs are live using httpx.
  4. Run a private tool to identify and exploit SQL injection on the live URLs.
  5. Extract admin credentials from the database.
  6. Find a login panel on a subdomain via source code inspection and log in with the stolen credentials.

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.

SQL injection is a way to trick a website's database into revealing information by inserting special commands into input fields or URLs. Here, the attacker used automated tools to find a vulnerable URL, then pulled out the admin username and password. They then found a hidden login page on another part of the site and used those stolen credentials to log in as an administrator.

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 Ratnadip Gajbhiye

View all

4 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.