Google VRP ยท Bug Chain ยท Original Reporter: Rebane ยท Report Writer: Aditya Sunny

Six small flaws, one click, your Drive is theirs

Program: Google VRPReward: $4,133.70Status: Triaged โ†’ Accepted โ†’ FixedOriginal reporter: RebaneReport writer: Aditya Sunny
Chain of documents and folders with one glowing weak link

No single step looks dangerous. The chain is the vulnerability.

TL;DR โ€” An attacker could craft a Google Slides presentation that tricks a viewer into granting Editor access to a private Google Drive file or folder with a single click. No one flaw does it alone โ€” the chain combines a loosely validated Slides video embed, redirect behavior, a framable Docs page, a pre-filled share dialog, a legacy URL format, and UI masking. Attribution: the original reporter of this vulnerability is Rebane; this report/write-up is by Aditya Sunny. Google VRP โ€” triaged, accepted, fixed โ€” reward $4,133.70. This post explains the issue for defenders and intentionally includes no working exploit code.

The six links in the chain

  1. Slides embeds YouTube videos using a video ID that wasn't strictly validated โ€” opening a path-traversal possibility in how the embed URL gets built.
  2. YouTube/account redirects can be chained to reach certain Google URLs.
  3. A specific Drive page โ€” docs.google.com/file/d/{ID}/edit โ€” could be framed and still displayed the real Share dialog.
  4. A userstoinvite query parameter pre-filled the share dialog, so the user only needed to click Send.
  5. A legacy /a/... URL format bypassed redirect blocks.
  6. Slide transitions and layered iframes masked the dialog, exposing only the "Send" button.

Result: the victim clicks "Send" โ†’ the attacker becomes Editor on the targeted file or folder.

Why it works, in plain terms

Slides uses a YouTube "video ID" to build an embed URL; if IDs are not checked strictly, the embed can point at other YouTube paths. YouTube and account subdomains can redirect browsers to other Google pages via next/continue parameters, which lets an attacker move the browser from a YouTube frame into a Docs page. Certain Docs file pages still show the genuine Share dialog inside an iframe, and a URL parameter like userstoinvite= pre-fills that dialog โ€” reducing the victim's part to a single click. Legacy URL formats dodge "permission denied" checks during redirects, and UI tricks (auto-advance, fades, overlapping frames) hide everything except the Send button, making the click far more likely.

Impact

How it was verified โ€” safely

The original write-up documents a defensive reproduction method using only the researcher's own test accounts: create two accounts you own (an "attacker-test" and a "victim-test"), keep the target file private, then check each link independently โ€” whether Slides accepts non-standard video IDs, whether the Docs file page shows a usable Share dialog inside an iframe, whether userstoinvite pre-fills the dialog, and whether the redirect chain (YouTube โ†’ accounts โ†’ Docs, sometimes via a legacy /a/ path) lands on a framed page with an active share dialog. During testing, log browser network traffic (redirects and iframe sources), console framing warnings, and Drive audit entries showing invites or permission changes. Never test against accounts, files, or organizations you do not own or lack explicit permission to test.

Mitigations

Detection ideas for defenders

A chain of permissive behaviors across Slides, YouTube, and Docs once allowed a convincing single-click Drive hijack โ€” fixed after responsible disclosure. Credit where due: the vulnerability was originally reported by Rebane; I (Aditya Sunny) wrote this report.

Originally published on Medium (Oct 7, 2025).

Found something similar?

I help teams verify and fix issues like this โ€” and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.