Skip to content
SQL injection Disclosed report Beginner

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.

b_i_n_i_a_m Follow

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.

The original report as published on HackerOne, by b_i_n_i_a_m. 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 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.

More by b_i_n_i_a_m

View all

1 more disclosed report, best first.

More from Mars

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.