Skip to content
SQL injection Disclosed report Beginner

Sql Injection At █████████

The reporter suspected that the PUB_ID parameter on a product details page was vulnerable to SQL injection after a single quote produced an invalid request response. They then ran an automated SQL injection tool against the endpoint and recorded a proof-of-concept video, but the text does not state what the tool confirmed or what data was retrieved.

w13d0m Follow

Originally disclosed on HackerOne

  • Triaged in 27 hours
  • Fixed in 12 days
  • Disclosed after 3 months

Description: Hi Security Team I Hope You Are Doing Well

Sql Injection is a common attack vector that uses malicious SQL code for backend database manipulation to access information that was not intended to be displayed.

1: Visit This Endpoint https://█████/ As You Can See This Website Using Asp.net That's Mean To Os Equal Windows. 2: Visit This Endpoint https://█████/ProductMaps/PubForm/Details.aspx?PUB_ID=4568 As You Experienced Sometimes To Check The Parameters Put ' To Know Vulnerable Or Not , If You Put ' In This Request As https://████████/ProductMaps/PubForm/Details.aspx?PUB_ID=4568' The Response Said Invalid Request Means To Maybe Vulnerable. 3: So I Decided To Sure That This Endpoint Vulnerable To Sql Injection Or Not , I Using Sqlmap As You Can See In My PoC Video.

References

███

Impact

The impact SQL injection can have on a business is far-reaching. A successful attack may result in the unauthorized viewing of user lists, the deletion of entire tables and, in certain cases, the attacker gaining administrative rights to a database, all of which are highly detrimental to a business.

System Host(s)

████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

1: Visit This Endpoint https://███████/ As You Can See This Website Using Asp.net That's Mean To Os Equal Windows. 2: Visit This Endpoint https://██████/ProductMaps/PubForm/Details.aspx?PUB_ID=4568 As You Experienced Sometimes To Check The Parameters Put ' To Know Vulnerable Or Not , If You Put ' In This Request As https://██████/ProductMaps/PubForm/Details.aspx?PUB_ID=4568' The Response Said Invalid Request Means To Maybe Vulnerable. 3: So I Decided To Sure That This Endpoint Vulnerable To Sql Injection Or Not , I Using Sqlmap As You Can See In My PoC Video.

Thanks And King Regards

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by w13d0m. 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 PUB_ID parameter is concatenated into a SQL query without parameterisation, but the text does not state the underlying mistake.

Impact

The reporter claims a successful attack could allow unauthorised viewing of user lists, deletion of tables, and in some cases administrative rights to a database, but the text does not show any of this actually happening.

What the attacker needed

None

How it was found

  1. Visit the product details endpoint with a numeric PUB_ID value.
  2. Append a single quote to the PUB_ID value and observe the invalid request response.
  3. Run an automated SQL injection tool against the endpoint and record a proof-of-concept video.

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.

A website often builds database queries using values from the URL, such as a product ID. If those values are not handled safely, an attacker can add database instructions and make the site return or change data it should not. Here the reporter only saw a suspicious error and then used an automated scanner, without showing the actual result.

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 from U.S. Dept Of Defense

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.