Bypassing Rate Limit on Password Reset Page
The password reset page had no rate limiting, so an attacker could send unlimited reset requests. This could allow user enumeration, brute-forcing of reset tokens, and denial of service by overloading the mail server.
While testing the security of a web application, I discovered a Rate Limit Bypass vulnerability in the password reset page. This issue allowed an attacker to send an unlimited number of password reset requests without triggering any restrictions.
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
Impact
An attacker could enumerate registered accounts, brute-force reset tokens if predictable, and cause a denial of service by overloading the mail server.
What the attacker needed
Access to the password reset page; no rate limiting in place
The fix
The issue was fixed by adding rate limiting, CAPTCHA, account lockout, logging, and strong token generation.
How it was found
- Send multiple password reset requests using Burp Suite.
- Observe that the system allows continuous attempts without rate limiting.
- Use a Python script to automate and accelerate sending many requests.
- Check responses for HTTP 429 or 403 to see if blocking occurs.
- Confirm no 429 Too Many Requests response was received.
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 page lets you ask the site to send a reset link to your email. Rate limiting is a cap on how many times you can do something in a period, like five tries per hour. Without that cap, someone can hammer the page endlessly, which can reveal which emails are registered, guess reset codes, or flood the mail system.
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.