How I Bypassed a Password Reset Rate Limit on a Bug Bounty Target
The password reset endpoint had a rate limit that could be bypassed by altering the HTTP request structure, causing the backend to lose track of automated traffic. This allowed an attacker to send many rapid requests and receive multiple valid password reset links at once.
Published on medium.com
When testing a web application’s password reset flow, finding a standard rate limit is quite common. Usually, if you try to spam the endpoint with 10 or 20 requests using a tool like Burp Intruder, the server will block you, and no emails will drop into the inbox.
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 rate limiter relied on mutable request attributes or client-supplied data to identify and throttle automated traffic, rather than on immutable identifiers like the target email address.
Impact
An attacker could bypass the password reset rate limit and cause multiple reset emails to be sent rapidly, potentially enabling spam or other abuse.
What the attacker needed
Access to the password reset endpoint; ability to intercept and modify HTTP requests
The fix
Rate limiting should be enforced on the backend using immutable identifiers such as the target email address or a strict threshold on the originating IP address.
How it was found
- Intercept a standard password reset request.
- Send multiple sequential requests using Burp Intruder to test for rate limiting.
- Observe that the server returns 200 OK but no emails arrive, indicating silent blocking.
- Modify the HTTP request structure and how data is presented to the server.
- Send a rapid succession of the modified requests.
- Observe that multiple valid password reset links arrive in the mailbox at the same time.
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 password reset rate limit is meant to stop someone from requesting many reset emails quickly. Here, the server tried to spot automated requests by looking at how each request was built, but by changing that structure the attacker made each request look different, so the limit never triggered. This meant many reset links could be sent to the same mailbox in a short time.
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.