Blind SQL Injection on starbucks.com.gt and WAF Bypass :*
A blind SQL injection existed on a Starbucks Guatemala menu page, allowing an attacker to dump schema from several database tables. The report was initially closed as out of scope for automated tools but reopened because the use of an sqlmap command did not meet the program's definition of an automated scan.
- Disclosed after 53 days
Summary by the program
Starting with a blind SQL Injection on http://www.starbucks.com.gt/menu/beverage/detail, @d3417_ was able to dump schema on several database tables. Initially closed as N/A because of our exclusion on automated tools, reopened to investigate the data reported in the tables, and because the casual use of an sqlmap command doesn't meet our usual definition of an automated scan. Downgraded from Critical to High, and awarded $500 bounty, because of the limited nature of the data exposed in these tables. Disclosure requested, but since much of the ticket would need to be redacted in order to remove database/table/schema/field names, we're releasing the summary and timeline only. Thanks to @d3417_ for reporting this.
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 menu detail page passed user input into a database query without parameterisation or proper escaping.
Impact
The attacker could dump schema and data from several database tables, but the program downgraded severity because the exposed data was limited.
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.
A blind SQL injection is a flaw where user input is placed into a database query without proper handling, so an attacker can ask the database true/false questions and slowly learn its structure. Here the attacker could read the names of tables and fields in the database, though the report says the exposed data was limited.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.