Sqli on ██████ search functionality
The search functionality of a website was vulnerable to SQL injection, allowing an attacker to inject SQL code into the search query. This could expose unpublished posts from the database and enable other harmful SQL commands.
Originally disclosed on HackerOne
- Triaged in 9 days
- Fixed in 16 days
- Disclosed after 3 months
Summary by the program
A SQL injection vulnerability is being reported on the search functionality of the ██████ website. The vulnerability allows an attacker to inject malicious SQL code into the search query, potentially exposing unpublished posts from the database and enabling other harmful SQL commands.
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 the search query was built by concatenating user input directly into a SQL statement without proper parameterisation or sanitisation.
Impact
An attacker could expose unpublished posts from the database and potentially run other harmful SQL commands.
What the attacker needed
None
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 a website puts user input directly into a database command without cleaning it first. An attacker can type special database instructions into a search box, and the website will run them, potentially revealing hidden data or doing other damage.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.