Broken Rate Limit : From “Non-Issue” to Valid Vulnerability w
The login endpoint's rate limiting did not prevent an attacker from sending thousands of password guesses and distinguishing the correct password by a different HTTP response. This allowed practical brute-force and password enumeration despite the apparent protection.
Published on medium.com
In this article, I’ll share a real-world authentication issue I discovered while testing a login functionality.At first glance, the application appeared to have rate limiting enabled. Requests eventually started returning blocked responses, and the security team believed the protection was working correctly.
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 limiting did not actually stop password checks, and the application returned a different response for valid credentials, allowing attackers to distinguish success.
Impact
An attacker could brute-force passwords and enumerate valid credentials despite the rate limiting, potentially leading to account takeover.
What the attacker needed
A valid email address; ability to send many login requests
The fix
The issue was fixed by the security team after the report.
How it was found
- Enter a valid email address on the login form.
- Intercept the login request using a proxy tool.
- Send the request to an automated request tool.
- Replace the password parameter with payload markers.
- Launch a password wordlist attack.
- Observe that most responses return HTTP 200 while the correct password returns HTTP 302.
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 login page should stop someone from trying many passwords quickly. Here, the site looked like it was blocking repeated attempts, but it still gave a different response when the password was right. That let an attacker keep guessing until they found the correct password.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.