From IDOR to Bypass: How a “Fixed” Bug Still Exposed 6.4 Mill
An unauthenticated endpoint allowed anyone to download other users' billing PDFs by supplying a predictable consumer number, month and year. The original fix only renamed the endpoint, so the same data remained accessible through a new URL.
What happens when you trust a patch without verifying it? Spoiler: a sequel nobody asked for.
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 never implemented an authorization check, so moving the endpoint to a new path left the same missing access control in place.
Impact
An attacker could access billing PDFs for millions of users, exposing names, addresses and billing details, and could scrape them at scale; the PDF password protection was weak because the password was derived from guessable personal data.
What the attacker needed
No account needed; guessable consumer number; guessable month and year
The fix
The endpoint should enforce authentication and authorization so that a user can only retrieve their own statement, rather than relying on a renamed URL or a guessable PDF password.
How it was found
- Navigate to the new endpoint with a consumer number, month and year in the query string.
- Enter any valid consumer number plus a month and year, which are predictable.
- The PDF downloads without authentication or authorization.
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 was giving out other people's bills to anyone who asked, without checking who they were. The company said it fixed the problem, but it had only changed the web address, so the same bills were still available. This is called an IDOR, where a site uses a guessable identifier instead of checking that you are allowed to see the data.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.