Skip to content
SQL injection Disclosed report Intermediate

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.

kauenavarro Follow

Originally disclosed on HackerOne

Critical View original
  • 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.

The original report as published on HackerOne, by kauenavarro. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Identify a parameter on the Sony website that is used in a database query.
  2. Inject a sleep() command to cause a time delay and confirm the injection.
  3. 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.

More by kauenavarro

View all

3 more disclosed reports, best first.

More from Sony

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.