️♂️The path to reaching a 10.0 CVSS score (You can too!)
A SQL injection vulnerability was found in a web application's parameters, allowing an attacker to execute arbitrary SQL queries. The author confirmed it with time-based and boolean-based techniques and extracted data, though the text does not specify what data was accessed.
medium.com
Published on medium.com
Imagine you are a “digital knight,” scouring the online world to find treasure — a lucrative website vulnerability, that not only earns you fame but also allows you to “pocket” a fat reward. That’s exactly the adventure my close friend ngosytuan and I embarked on when we targeted the mysterious website…
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 application concatenated user-supplied parameter values directly into SQL queries without parameterisation or proper escaping.
What the attacker needed
Access to the web application; ability to send crafted requests
How it was found
- Send a request with an apostrophe in every parameter to trigger a server error.
- Try UNION payloads with increasing column counts to understand the query structure.
- Use a time-based payload with SLEEP to confirm the injection.
- Build a custom script to automate boolean-based extraction of data.
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 flaw where user input is inserted into database commands without proper handling, letting an attacker change the command's meaning. Here, the application took a parameter and used it in a database query, so an attacker could make the database wait (time-based) or return different results (boolean-based) to extract information.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.