# Login throttle bypass via attempt counting

Throttles that count only failed logins, skip anti-abuse tokens, or have no brute-force limit at all

_Area: Web authentication and account takeover. Seen in 2 disclosed reports; one confirmed bounty: $5,000; latest 2025-06-09. Updated 2026-11-21._

## How it works
A login throttle is supposed to bound how many guesses an attacker can make against an account. The assumption that breaks is that the counter reflects *every* attempt. When the counter is only checked or incremented on a failed password, or when the anti-abuse proof (a bot token, a proof-of-work) is enforced on one code path but not a fallback path, the limit no longer bounds guessing. An attacker interleaves guesses, or uses the unprotected path, and the throttle never fires. The root cause is a mismatch between the protected surface and the actual authentication decision: the check lives beside the login, not inside it.

## Where it shows up
- Throttle logic keyed to an "invalid password" branch, with the success path returning before the counter is touched [E3](https://bugbountylibrary.com/r/h1%3A708013.md).
- A no-JS or API fallback form that accepts a static sentinel (e.g. `bgresponse=js_disabled`) instead of a real anti-abuse token [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md).
- Anti-abuse tokens minted by one path and accepted, or reusable, on another [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md).
- Per-IP rate limiting as the *only* defense, with no per-account or per-token limit [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md).
- Services exposed directly to the internet (RDP, login APIs) with no lockout or backoff at all [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md).
- GraphQL mutations that authenticate (e.g. `customerAccessTokenCreate`) where throttling is a side concern [E3](https://bugbountylibrary.com/r/h1%3A708013.md).

## How to review
The invariant: **every authentication attempt, successful or not, consumes throttle budget, and every path that can authenticate enforces the same anti-abuse proof.** Check that the counter increment and check happen before the password comparison and on all code paths, including success, fallbacks, and alternate content types. Confirm the anti-abuse token is verified server-side on each request and cannot be reused or replaced by a sentinel. Confirm limits exist per account and per token, not only per IP. For exposed services, confirm lockout/backoff exists at the network or account layer [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md).

## How finders spotted it
- Noticed the username recovery form still worked with JavaScript disabled, contradicting the assumption that the bot check was mandatory, then spotted the `js_disabled` sentinel and hypothesized token substitution [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md).
- Saw the "Login attempt limit exceeded" error after failures, then submitted the correct password and it still succeeded — revealing the counter only applied to invalid passwords [E3](https://bugbountylibrary.com/r/h1%3A708013.md).
- A SOC alert on domain enumeration led to log review that surfaced RDP brute force; atypical file-based credential hunting prompted a second look at the brute-force source IPs [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md).

## Variants seen
- Throttle counts failures only; success path bypasses the counter [E3](https://bugbountylibrary.com/r/h1%3A708013.md).
- Anti-abuse token enforced on the JS path but skipped on the no-JS fallback, with a static sentinel accepted [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md).
- No brute-force protection at all on an internet-exposed service [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md).

## Impact and severity
E3 allowed brute-forcing customer passwords through the Storefront API, rated as an account-takeover risk. E1 let an attacker brute-force any Google user's phone number, amplified by IPv6 rotation and a display-name leak that shrank the search space [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md). E2 led to a compromised account, domain enumeration, credential harvesting and ransomware initial access [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md). Impact rises when the throttle gap is combined with a second leak that narrows the guess space [E1](https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md) or with credential reuse across a domain [E2](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md).

## Evidence
- E1: https://bugbountylibrary.com/r/blog%3Abrutecat-com-articles-leaking-google-phones.md
- E2: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-brute-force-or-something-more-ransomware-initial-access-brokers-exposed.md
- E3: https://bugbountylibrary.com/r/h1%3A708013.md
