I Hacked into Karnataka Government Admin Panel Using a Google Dor
An unauthenticated SQL injection in a KSRTC admin panel allowed the author to log in with a basic payload and access employee provident fund records for over 52,000 staff. The author stopped after taking screenshots and reported the issue, which was acknowledged and patched.
Published on medium.com
I just wanted to book a ticket. That’s it.
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 login form inserted user input directly into a database query without proper escaping or parameterisation.
Impact
An attacker could view and potentially modify sensitive financial records of over 52,000 government employees.
What the attacker needed
Internet access; no account needed
The fix
The issue was acknowledged and patched after responsible disclosure.
How it was found
- Search Google for admin pages on the target site using a dork.
- Open a discovered admin URL that loads without a login prompt.
- Enter a basic SQL injection payload into the login fields.
- Gain access to the admin panel.
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 login form that builds database queries by pasting in whatever you type can be tricked. By entering a special phrase, the author made the database treat the login as always true, so the site let them in without a real password. This is called SQL injection.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.