From SQL Injection to Hall Of Fame
A login-related parameter on an e-commerce site returned a database error when a quote character was supplied, indicating SQL injection. The author used an automated tool to exploit it and reach an operating-system shell, then reported it and was added to the company's hall of fame.
Published on medium.com
Google Dorking seems an often under-appreciated technique in a bug bounty hunter’s arsenal when assessing a target web application for vulnerabilities. A Google dork query, sometimes just referred to as a dork, is a search string that uses advanced search operators to find information that is not readily available on…
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 username input was concatenated into a database query without proper escaping.
Impact
An attacker could run arbitrary database commands and, per the tool output described, obtain an operating-system shell on the server.
What the attacker needed
Target runs the affected storefront software; a username-style parameter is reachable
How it was found
- Find candidate sites with a search-engine query for a specific URL path.
- Locate the company's vulnerability disclosure channel via a search.
- Supply a single or double quote in the username parameter and observe a SQL error.
- Run an automated injection tool against the parameter to exploit it.
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 when a website puts what you type straight into a database command, so special characters can change that command. Here, typing a quote mark made the site show a database error, which is a strong hint the input is not handled safely. The author then used a tool to confirm it and gain deeper access.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.