How I Chained Four Bugs to Take Over Any Account on a Major FinTe
The authentication flow had user enumeration, reusable CAPTCHA tokens, a PII leak, and no rate-limiting or expiry on OTP codes. An attacker could chain these to brute-force any account and take it over.
Published on cyphernova1337.medium.com
Bug bounty hunting is a game of persistence. It’s about pulling on threads.
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 authentication flow lacked proper server-side controls: no rate-limiting on OTP verification, no expiry for OTP codes or session tokens, reusable CAPTCHA tokens, and verbose error messages that leaked user existence and PII.
Impact
An attacker could take over any account by chaining user enumeration, CAPTCHA bypass, password spraying, and OTP brute-force, and the final response also leaked a permanent API access key.
What the attacker needed
No account needed for enumeration; victim has a weak password; attacker can harvest CAPTCHA tokens; OTP endpoint lacks rate-limiting
How it was found
- Send a request to the is-email-verified endpoint with a non-existent email and observe a 400 error.
- Send the same request with a known-good email and observe a 200 success response, confirming user enumeration.
- Harvest a recaptcha_token from the login page and use it in a login attempt for a different user, confirming the token is not tied to the session.
- After a successful password guess, observe the response leaking the last four digits of the user's phone number.
- Send repeated OTP verification requests to the otp-code endpoint without being rate-limited or having the session invalidated.
- After 13 hours of brute-force attempts, submit the original valid OTP code and confirm it still works, proving no expiry.
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 report shows how small weaknesses in a login system can combine into a full account takeover. The attacker could first find valid email addresses, then reuse CAPTCHA tokens to try many passwords, and finally guess the one-time SMS code because the server never limited attempts or expired the code.
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.