Google Phone Number Leak: A $5,000 Brute-Force Bug
*AI-assisted: drafted with AI help from public sources, then reviewed and edited. This is an analytical case study of a public disclosure, not my own discovery.*


AI-generated illustration
A forgotten no-JavaScript recovery form let one researcher confirm any Google user’s phone number in minutes, using a name and two digits
AI-assisted: drafted with AI help from public sources, then reviewed and edited. This is an analytical case study of a public disclosure, not my own discovery.
Give an attacker a Google account’s display name and the two digits Google shows in its password-reset hint, and they could recover the full phone number behind it. That Google phone number leak, reported in April 2025, took about 20 minutes for a US number and seconds for smaller countries. Google paid $5,000 and retired the form.
Disclaimer: * Educational and defensive use only. Google deprecated the affected form in June 2025. Request formats, parameters and tooling details are intentionally omitted.*
Vulnerability Overview
- Type: Account enumeration via a legacy recovery form, with anti-automation that could be bypassed
- CWE (analytical mapping): CWE-204 (Observable Response Discrepancy), CWE-307 (Improper Restriction of Excessive Authentication Attempts)
- CVE / CVSS: Not reported
- Bounty: $5,000 total ($1,337 first, raised after appeal)
How the Google Phone Number Leak Worked (high level)
Researcher brutecat (Arvin Shivram) turned off JavaScript to see which Google pages still worked. The old username recovery form did. It answered one yes/no question: does an account exist with this phone number and this first and last name?
A yes/no oracle is harmless only if it is slow. Three weaknesses made it fast:
- Rate limits keyed on IP address. IPv6 hosting gives every server a /64 range, effectively unlimited source addresses. Rotating them per request sidestepped per-IP throttling.
- A bot check that trusted the wrong token. Datacenter traffic on the no-JS form still hit a captcha. But the form accepted a bot-protection token minted by the modern JavaScript form, and that token was not limited on the legacy path.
- Hints that shrink the search space. The password-reset flow reveals a masked number in the country’s national format. That mask points to the country, and the visible digits cut the guesses to a few million or fewer.
The last input, the display name, had been removed from most Google endpoints by 2024. The researcher eventually found a way around that: transferring ownership of a Looker Studio document exposed the recipient’s name with no interaction from them.
Chained together, a cheap 16-core server ran around 40,000 checks per second.
Business Impact
A phone number tied to a named Google account is a SIM-swap and targeted-phishing starter kit. The victim could not see the lookups happening, which is why Google raised the exploitability rating on appeal.
Fixing Google Phone Number Leak-Style Oracles (my own analysis)
1. Retire legacy flows, not just their UI. An old endpoint still answering is still attack surface.
2. Bind anti-bot tokens to one flow and one use. A token from form A should mean nothing on form B.
3. Throttle the target, not the source. Count attempts per phone number and per name, so rotating IPs buys nothing.
# Pseudocode: rate limit by what is being guessed, and commit the counter first
def recovery_lookup(phone, name, bot_token, flow="username_recovery"):
if not bot_tokens.consume(bot_token, flow=flow): # single use, bound to this flow
return generic_response()
key = hash_identifier(normalize(phone))
count = attempts.increment(key, window="24h") # commit before any lookup
if count > 5:
audit("recovery_throttled", key)
return generic_response()
match = accounts.exists(phone=phone, name=name)
send_challenge_if(match) # proof goes to the owner's device
return generic_response() # same answer either way
# Test: 6th lookup for one number from a new IP -> throttled, response unchanged
Key Takeaways
- Per-IP rate limits stop scripts, not attackers with IPv6.
- Every masked hint you show narrows someone’s brute force. Show as little as possible.
- A recovery flow should return the same response whether or not the account exists.
Credit & Sources
Discovered and reported by brutecat (Arvin Shivram). Primary source: Leaking the phone number of any Google user, disclosed 9 June 2025. Facts come from that write-up; analysis and code are original.
Next breakdown: the ChatGPT account takeover hidden in a cache rule. Follow @masimshahzad for daily bug bounty breakdowns.
First published by Adam Hale on Medium.
Sources
Share
Reactions
Comments
Your name and comment appear on this article for other readers.
Corrections and tips:[email protected]

