SQL Injection at https://████ via ███ parameter
A Sony website was vulnerable to time-based SQL injection through a specific parameter. An attacker could use this to extract database information such as table names, the database user name, and the database hostname.
Originally disclosed on HackerOne
- Triaged in 27 hours
- Fixed in 7 days
- Disclosed after 19 days
Summary by the program
The researcher reported that a Sony website was vulnerable to a time-based SQL injection. The researcher was able to demonstrate the vulnerability by running a sleep() command on the underlying database. The researcher then used SQLMap to extract data from the database such as table names, the database user name, and the database hostname.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, user input in the parameter was concatenated into a SQL query without parameterisation or proper escaping.
Impact
An attacker could extract sensitive database information, including table names, the database user name, and the database hostname.
What the attacker needed
Access to the vulnerable parameter
How it was found
- Identify a parameter on the Sony website that is used in a database query.
- Inject a sleep() command to cause a time delay and confirm the injection.
- Use SQLMap to automate extraction of table names, the database user name, and the database hostname.
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 report has not been written yet. The Original tab links to the source.
SQL injection is when user input is inserted into a database query without proper handling, letting an attacker change the query's meaning. Here, the attacker could make the database pause (a 'sleep' command) to confirm the flaw, then use a tool to pull out information like table names and the database user.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.