How Burp AT helped expose whistleblower reports via a critical vulnerability that was overlooked for years
A client-side JavaScript bundle exposed whistleblower reports that were protected only by a six-digit alphanumeric code, allowing the codes to be brute-forced and confidential reports retrieved. The vulnerability had been present for some time and was missed during previous security assessments.
portswigger.net
Published on portswigger.net
Ray Huygen is a Security Analyst at Orange Cyberdefense, a managed security service provider with 2,500+ employees worldwide. He performs regular web, API, and mobile pentesting for clients and has been a Burp Suite user since 2019.
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 application relied on a short six-character alphanumeric code as the only protection for whistleblower reports, without rate limiting or stronger authentication.
Impact
An attacker could brute-force the short codes and retrieve confidential whistleblower reports, potentially exposing sensitive information.
What the attacker needed
Access to the client-side JavaScript bundle; ability to send many requests to try codes
How it was found
- Review the client-side JavaScript bundle to understand how whistleblower reports are accessed.
- Identify that each report is protected only by a six-digit alphanumeric code.
- Run an Intruder attack to brute-force the codes.
- Observe exfiltrated reports being returned.
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.
A website's JavaScript code, which runs in the visitor's browser, contained a way to access confidential whistleblower reports. Each report was protected only by a short code made of six letters and numbers, and because there are not many possible combinations, someone could try every code until they found the right one. This let an attacker read reports that were meant to be private.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.