Chaining rate limiting for account lockout
The forgot-password feature on an Android app reset the account password directly from the request instead of sending a reset email, and the endpoint had no rate limiting. An attacker could repeatedly submit the request to change the password every second, locking the legitimate user out of their account.
Published on web.archive.org
#### Sandip Oli
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 password-reset endpoint performed the reset directly from the request without a confirmation step and without rate limiting.
Impact
An attacker could repeatedly reset a victim's password, preventing the legitimate user from signing in at all.
What the attacker needed
Android app of a public bug bounty program; Attacker knows the victim's email
How it was found
- Request a password reset for a target email address.
- Notice the password is reset immediately rather than an email being sent.
- Intercept the request and send it to the intruder tool.
- Repeat the request rapidly to change the password every second.
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 forget a password, a site usually emails you a link to set a new one. Here the app skipped that step and changed the password straight away from the request itself. Because nothing slowed down repeated requests, someone could keep changing the password over and over so the real owner could never log in.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.