How I Bypassed Rate limiting To Account Takeover
The login page rate-limited failed attempts by IP address, banning an IP after five failures. An attacker could rotate IP addresses (e.g., via VPN or TOR) to bypass the limit and perform unlimited password guessing, potentially leading to account takeover.
Published on medium.com
Hi, Ajak Amico’s welcome back to another blog today. In this blog, I will show how I found rate limit bypass using IP rotation which led to account takeover, to exploit this I used the TOR browser.
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
The rate limiting was applied per IP address rather than per account or session, allowing bypass by changing IP.
Impact
An attacker could perform unlimited password guessing attempts, potentially leading to account takeover.
What the attacker needed
Ability to rotate IP addresses (VPN, TOR, etc.); Target login page with IP-based rate limiting
How it was found
- Observe that after 5 failed login attempts, the IP is banned for 15 minutes.
- Connect to a VPN and change the IP address.
- Attempt to login with the new IP address and see that the attempt counter resets.
- Use TOR browser to rotate IP for each request and submit unlimited login attempts.
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 website tried to stop people from guessing passwords by blocking an IP address after five wrong tries. But because it only looked at the IP address, an attacker could simply switch to a different IP address (using a VPN or the TOR browser) and keep guessing. This means the protection was ineffective and could allow someone to break into accounts.
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.