Tried to find bug on bbc.com
An API endpoint returned a database error message that included the file name, table name, columns, rows, and the actual SQL query. The reporter considered this sensitive information disclosure, but the BBC VDP team replied that the information was not sensitive.
Published on medium.com
It is one of my interesting findings. After seeing posts in linkedin, saying that they got swag for finding Bug in bbc.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API did not suppress detailed database error messages, so a malformed request caused the server to return internal query details.
Impact
The error message could reveal database schema details, but the BBC stated the information was not sensitive, so the practical impact was limited.
What the attacker needed
None
How it was found
- Explore the website with Burp Suite running as a proxy to passively capture requests.
- In Burp's sitemap, notice requests to an API subdomain and its endpoints.
- Find additional API endpoints by searching the site's main JavaScript file.
- Send requests to the discovered endpoints and change the HTTP method (e.g., from GET to POST).
- Observe that a POST request to one endpoint returns a 400 error containing database details.
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 write-up has not been written yet. The Original tab links to the source.
When a web server hits an error, it sometimes shows a detailed message. Here, the error message revealed the structure of the database behind the site, including table and column names. That kind of detail can help an attacker plan further attacks, though the BBC decided it was not sensitive enough to count as a vulnerability.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.