Google Docs 'ClickJacking' (Information Disclosure)
A clickjacking attack on Google Docs' request-access dialog tricked a victim into clicking a hidden button, causing Google to email the attacker the victim's full name and email address. The attacker could then link that identity to the victim's session.
Published on maustin.net
The original lives on maustin.net
We do not hold its text, 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 request-access page could be framed and its button positioned invisibly, allowing a click to be hijacked.
Impact
The attacker could learn the victim's full name and email address and tie it to their session, but only if the victim clicked on the malicious page.
What the attacker needed
Victim visits attacker's site; victim clicks anywhere on the page; attacker controls an email inbox
How it was found
- Victim visits the evil site.
- The evil server creates a private Google Doc named with the victim's session id.
- The server gets the document URL and embeds the request-access page in a transparent iframe.
- JavaScript makes the cropped request-access button follow the mouse.
- When the victim clicks anywhere, they actually click the request-access button.
- Google emails the attacker with the victim's name and email, which the attacker matches to the session.
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.
Clickjacking is when a malicious site hides a button from another site under a transparent layer, so you click it without knowing. Here, the hidden button asked for access to a private Google Doc, and Google then emailed the attacker the victim's name and email. The attacker used that email to learn who the victim was.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.