I Chained Four Bugs to Take Over Account
The report describes four separate weaknesses: an IDOR on a transaction endpoint, predictable password reset tokens, a CORS policy allowing any origin with credentials, and user enumeration through differing login errors. Chained together, the author claims an attacker could take over accounts and extract financial data.
medium.com
Published on medium.com
Bug bounty isn’t just about finding a single issue — it’s about thinking like an attacker: connect the dots, chain the bugs, and break assumptions.
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 a combination of missing server-side authorisation checks, weak reset token design, an overly permissive CORS policy, and inconsistent login error messages.
What the attacker needed
A user account; knowledge of a target email address; victim visits a malicious site (for CORS)
The fix
The text recommends strict role-based access control with server-side validation of user identifiers, unpredictable reset tokens bound to the user's device or IP, disallowing wildcard CORS with credentials, and generic login error messages.
How it was found
- Intercept requests while using an account and notice the user identifier in the transaction URL.
- Change the user identifier to another known value to read that user's transactions.
- Request a password reset and observe the token format in the URL.
- Send a CORS preflight request with an attacker-controlled origin.
- Brute-force the login endpoint with a list of common email addresses to find valid users.
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.
This write-up lists four common security mistakes. One lets a user read another person's data by changing an identifier in the address. Another makes password reset links guessable. A third lets any website read logged-in users' data. The last reveals which email addresses have accounts. The author says combining them allows taking over accounts, but gives few technical details.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.