Weak Rate Limiting & Password Oracle in Change Email Endpoint Got
The Change Email endpoint returned different error messages for incorrect versus correct passwords, and rate limiting was weak, so an attacker with a valid session could brute force the password. This allowed confirming the correct password and then changing the email to take over the account.
While bug bounty hunting, not every vulnerability you find will be a flashy RCE or a zero-day. Sometimes, even “basic” bugs can have real security implications — and they’re absolutely worth reporting.
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 endpoint used different error messages for bad credentials versus rate limiting, and rate limiting was too lenient, creating an oracle.
Impact
An attacker with a valid session could confirm the correct password and change the email, potentially taking over the account and locking out the real user.
What the attacker needed
A valid session token; many password guesses (~10k)
The fix
The report recommended uniform error messages, strict rate limiting per IP and account, CAPTCHA after failures, and revalidation with 2FA or email confirmation; it does not say whether these were implemented.
How it was found
- Log in and go to account settings, then the Change Email function.
- Submit a wrong password and note the error response.
- Submit many passwords; after about ten thousand attempts, a correct password produces a different rate-limit error.
- Use the confirmed password to change the email to the attacker's address.
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 you change your email, the site asks for your password. The site's reply was different when the password was wrong compared to when it was right, even though it should look the same. That difference let someone guess passwords over and over until they found the right one, then change the email and lock you out.
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.