How I Chained an Open Redirect into Email Leak and Got $1,337 fro
An open redirect on a Google subdomain was combined with a continue parameter on admin.google.com that accepted any google.com subdomain and appended the user's email address. This allowed an attacker to redirect a victim to an attacker-controlled site while leaking the victim's email address.
Published on xlsize0bruh.medium.com
Hi! I'm Pratyush Dutta, a 17yo old Bug Bounty hunter.
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 continue parameter only checked that the host ended with google.com, not that it stayed within Google, and it appended the user's email to the redirect target.
Impact
An attacker could leak a victim's email address to an external site, but the report does not claim any further impact such as account takeover.
What the attacker needed
Victim clicks a crafted link; attacker knows a Google subdomain open redirect
How it was found
- Find an open redirect on a Google subdomain that goes to an external site.
- Notice that admin.google.com's continue parameter accepts any google.com subdomain and appends the user's email.
- Combine the two: set continue to the open redirect URL, which then redirects to an attacker-controlled domain.
- The victim's email is appended to the final URL, leaking it to the attacker.
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.
An open redirect is a link on a trusted site that sends you to another site without checking where you're going. Here, the admin page would forward to any Google subdomain and add the user's email to the address. By chaining it with an old redirect that pointed outside Google, the attacker could capture that email.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.