Skip to content
Account takeover Write-up Beginner

How I Found a Login Brute-Force Vulnerability Due to Missing Rate Limiting

The login endpoint accepted unlimited authentication attempts with no rate limiting, CAPTCHA, lockout or throttling. An attacker could therefore run password brute-force and credential stuffing attacks, and possibly enumerate valid accounts, which may lead to account takeover.

pradyumntiwarenexus Follow

Published on pradyumntiwarenexus.medium.com

While testing a target, I came across something interesting — a login endpoint with no rate limiting at all. No CAPTCHA, no blocking, nothing.

PradyumnTiwareNexus, on pradyumntiwarenexus.medium.com

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 login endpoint had no server-side controls on repeated failed attempts, such as per-IP or per-account rate limiting, lockout, CAPTCHA or delays.

Impact

Attackers could brute-force passwords and stuff stolen credentials, and may gain unauthorised access to accounts, with full account takeover possible if passwords are weak or reused.

What the attacker needed

No account needed to test; network access to the login endpoint

The fix

Rate limiting should be added per IP and per account, together with CAPTCHA after repeated failures, a lockout policy, exponential backoff and monitoring of suspicious logins.

How it was found

  1. Capture the login request in an intercepting proxy.
  2. Send the request to the Intruder tool.
  3. Mark the password value as the payload position.
  4. Load a short list of common passwords as payloads.
  5. Start the attack and send many requests.
  6. Check the responses for any 429 status, CAPTCHA, blocking or delay.

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 normally slows you down or blocks you after several wrong passwords. Here it did not, so a program could keep guessing passwords as fast as it liked. If a user picks a weak or reused password, the guesser will eventually get in.

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.

More by pradyumntiwarenexus

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.