How I Bypassed Rate Limit on Login
The login system locked an account after 16 failed password attempts, but changing the case of a character in the email address bypassed this rate limit. An attacker could then try unlimited passwords without being blocked.
During a security assessment, I found a rate limit bypass vulnerability on the login system. Normally, the system should lock an account after 16 incorrect password attempts.
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 applied to the email string as typed, without normalising case, so different capitalisations were treated as separate accounts.
Impact
An attacker could bypass the lockout mechanism and try unlimited passwords without being blocked.
What the attacker needed
A valid email address; ability to send login requests
How it was found
- Send 16 login attempts with an incorrect password using a specific email address.
- Observe that the account is locked and further attempts are blocked.
- Change the case of one character in the email address.
- Continue login attempts with any password; the rate limit no longer applies.
- Confirm by changing the case again and logging in with the correct password.
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 rule that stops someone from trying too many passwords in a short time. Here, the system counted attempts per exact email spelling, so changing a letter's case (like 's' to 'S') made it think it was a different account. That let an attacker keep guessing passwords forever.
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.