Skip to content
Info disclosure Write-up Advanced

How a Researcher Leaked Any Google User’s Phone Number — A $5

A forgotten no-JavaScript username recovery endpoint acted as a yes/no oracle for whether a phone number and display name matched a Google account. By chaining a Looker Studio display-name leak, country-code inference from masked phone hints, IPv6 rotation and a BotGuard token trick, an attacker could brute-force and reveal any Google user's phone number.

Vivek ps Follow

Published on osintteam.blog

If you’ve been following bug bounty writeups lately, you know that some of the most interesting vulnerabilities aren’t the ones that require exotic zero-days — they’re the ones hiding in plain sight, in old endpoints that nobody bothers to check anymore.

Vivek PS, on osintteam.blog

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 legacy no-JavaScript recovery endpoint accepted a BotGuard token in place of the expected js_disabled marker and applied no rate limiting to that token, turning the endpoint into an unthrottled oracle.

Impact

An attacker with only a victim's email address could learn their full phone number without any interaction from the victim, though the attack relied on the legacy endpoint and was later mitigated.

What the attacker needed

Target's email address; a VPS with an IPv6 /64 subnet; a headless browser to refresh BotGuard tokens

The fix

Google rolled out inflight mitigations and fully deprecated the no-JavaScript username recovery form.

How it was found

  1. Transfer ownership of a Looker Studio document to the target's email so their display name appears on your Looker Studio home page.
  2. Run the target's email through Google's forgot password flow to get a masked phone hint and infer the country code from the mask pattern.
  3. Run the brute-force tool with the display name, country prefix, suffix digits and a BotGuard token, using IPv6 rotation and many parallel workers.

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.

Google has a page for recovering your username that still worked without JavaScript. It would simply say yes or no to whether a phone number and name belonged to an account. The researcher found ways to ask that question millions of times without being blocked, and combined it with a separate leak of people's display names to work out their phone numbers.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Vivek ps

View all

14 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.