Trick to bypass rate limit of password reset functionality
The password reset endpoint applied its rate limit only to the exact URL without a query string, so adding any query parameter let the attacker send over 100 requests without being blocked. This weakens the protection against brute-forcing or abusing the reset flow, though the text does not show a full account takeover.
Published on 4bdoz.medium.com
1- Change the user-agent header’s value randomly in every request. [Failed] 2- Adding some headers like below: [Failed] X-Forwarded-For : 127.0.0.1 X-Forwarded-Host : 127.0.0.1 X-Client-IP : 127.0.0.1 X-Remote-IP : 127.0.0.1 X-Remote-Addr : 127.0.0.1 X-Host : 127.0.0.1 3- Trying to add a null byte in the email’s…
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 keyed on the full request path including the query string, so any added parameter produced a fresh counter.
What the attacker needed
Access to the reset endpoint; an intercepting proxy or script
How it was found
- Open the password reset page on the target site.
- Submit a reset and capture the request in an intercepting proxy.
- Add an arbitrary query parameter to the endpoint and resend it many times, by hand or with an intruder tool.
- Observe that the 'Too many requests' block no longer appears.
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 rate limit is a cap on how many requests a server accepts in a period, used to slow down automated guessing. Here the cap was tied to the exact address of the reset page, so adding a harmless extra part to the address made the server treat each request as a new, uncounted one. The result is that the cap can be sidestepped simply by changing the address slightly.
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.