No Rate Limiting on Password Reset Email Requests
The password reset endpoint lacked rate limiting, so an attacker could request unlimited reset emails to any user. This could be used to spam users or cause disruption.
Genius
Originally disclosed on Bugcrowd
- Accepted in 4 days
- Fixed in 5 days
- Disclosed after 11 months
Summary by Genius
Because password reset emails are necessary to prevent the user from being locked out of their account, users aren't able to unsubscribe from them like other email types. This means our standard per-IP rate limiting was insufficient, since attackers could annoy users by requesting password resets from many different IP addresses. We improved our logic by applying a per-account limit, since each password reset request for a given account gets delivered to the same email address, effectively making it so that only one password reset request could be outstanding for a user at any given time. We also made sure to reset the rate limit counter when the password reset was successfully completed.
Summary by Joyboy_07
The password reset functionality did not implement rate limiting, allowing an attacker to trigger an unlimited number of password reset emails to any user. This behavior could be exploited to spam users, cause disruption, or facilitate denial-of-service attacks against user accounts. Enforcing rate limiting on such endpoints is essential to prevent abuse and ensure a more secure and user-friendly experience.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the password reset endpoint had no per-account rate limit, only a per-IP limit that could be bypassed by using many IP addresses.
Impact
An attacker could spam a user with password reset emails, causing disruption or a denial-of-service against the account.
What the attacker needed
No account needed; victim's email address known
The fix
A per-account rate limit was added so only one reset request can be outstanding at a time, and the counter resets after a successful reset.
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 report has not been written yet. The Original tab links to the source.
A password reset feature sends an email with a link to set a new password. Without a limit on how often this can be requested, someone can flood a victim's inbox with these emails. This is annoying and can be used to harass or disrupt the user.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.