Hours of Recon, One Vulnerable Parameter, and Boom — SQL Injection Found. This Is Why You Never Underestimate Recon
A login form on a Karnataka government bus booking portal was vulnerable to SQL injection, allowing the author to bypass authentication and dump database contents. The author claims access to user credentials, travel history, personal details and internal admin functionality without authentication.
Published on osintteam.blog
Last night, while casually poking around the internet (totally not looking for trouble), I stumbled upon a government website. With a few well-placed SQL payloads, curiosity kicked in, and boom, access was granted!
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 built its database query by concatenating user input directly instead of using parameterised queries.
Impact
Attackers could bypass login and extract sensitive citizen data, and the author claims potential disruption of booking operations; the text gives no technical detail on any limiting defence.
What the attacker needed
Internet access; target login page reachable
The fix
The author states the issue was reported and patched, though no technical fix is described.
How it was found
- Enumerate subdomains of the target domain passively.
- Filter the subdomains down to ones that respond as live.
- Run an automated scanner against the live hosts.
- Notice a login page the scanner missed and test it manually.
- Submit crafted input in the username and password fields and observe database errors.
- Use an automated SQL injection tool to confirm the flaw and dump the database.
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 sends what you type to a database as part of a command. If the site builds that command by gluing your text straight in, typing special database characters can change the command itself, so you can log in without a password or read other data. 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.