Rate Limits Bypassed — Business Logic Flaw
The password reset feature enforced a one-request-per-hour limit only on the main site, but the same reset could also be triggered through the separate Okta authentication domain, which had no such limit. An attacker could therefore automate many reset emails, defeating the control meant to stop abuse and brute-force attempts.
medium.com
Published on medium.com
In this blog, I’ll walk you through how I discovered and exploited a rate limit bypass in the password reset functionality of one of the private programs on HackerOne.
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 limit was implemented only in the application's own reset endpoint and not in the parallel Okta-hosted authentication flow that could trigger the same reset.
Impact
An attacker could send unlimited password reset emails, enabling abuse and brute-force style attacks that the hourly limit was meant to prevent.
What the attacker needed
Knowledge of the Okta login domain; ability to intercept and replay requests
How it was found
- Request a password reset through the Okta authentication domain instead of the main site.
- Note that the reset email still arrives from the main site.
- Capture the request in an intercepting proxy and send it to an automated repeater.
- Run many reset requests automatically, bypassing the one-per-hour restriction.
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 often someone can do something, here requesting a password reset email. The site capped this on its own domain, but the same action could be started through a second login service (Okta) that had no cap. So a script could keep asking for reset emails without being stopped.
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.