Google VRP ยท Auth Bypass ยท Writeup
View-only on the surface, everything in the zip
The UI showed a form. The download quietly included every response it had ever collected.
Background
Folder sharing is how teams collaborate: drop files in a folder, share it once, done. The mental model is that a "Viewer" sees what you see โ the files listed in the folder. But Google Forms complicate that picture. When a form is created and saved inside a shared folder, its responses are internally stored alongside the form as a CSV. That response file is not shown in the Drive UI โ yet, as this bug showed, hidden from the interface is not the same as protected.
The vulnerability
Even with view-only permissions on the folder, a recipient could:
- Download the entire folder as a zip.
- Unzip it.
- Find a second zipped file containing the form's responses.
- Extract the CSV with the complete form submission data.
That is unauthorized access to private data that was never meant to be shared โ an authorization bypass created by how batch downloads package a folder's contents.
Reproduction steps (PoC)
- Create a folder on Google Drive.
- Inside it, create a Google Form (and a Google Doc, just for demonstration).
- Submit some test data into the form.
- Share the folder with "Viewer" access.
- On the recipient side, choose "Download All" โ a zip of the whole folder comes down.
- Inside that zip sits another archive,
yourformname.zip. Extract it to reveal the CSV of form responses.
Why it happened
Three behaviours combined badly: Drive's batch download assumes everything in a shared folder is intended for download; Forms automatically store responses in associated CSV files; and those response files, while invisible in the UI, were included in a "Download All". The result was privilege escalation via zip packaging โ view access to a container silently became read access to internal, auto-generated files inside it.
Impact โ the real-world scenarios
- Education: teachers sharing forms for feedback or quizzes could unknowingly expose student data.
- HR and recruitment: application forms collect resumes, phone numbers and private responses โ all reachable through a shared link.
- Startups and enterprises: internal surveys and polls downloadable by unintended recipients.
Email addresses, employee feedback, customer complaints โ all accessible without ever being explicitly granted that access.
Google's response
After submission to the VRP, the issue was acknowledged and triaged, marked as a security misconfiguration / auth bypass, and assigned a $5,000 bounty to the reporter. Kudos to Andrew Sirkin for the discovery, and to Google for handling it responsibly.
Lessons
- For platforms: view access to a folder must never imply consent to download internal auto-generated files; form responses should be excluded from downloads unless access is explicitly granted.
- For users: avoid storing forms and sensitive data in shared folders, prefer individual file sharing when privacy matters, and double-check what "Download All" actually includes.
- For hunters: look beyond the UI โ what the user sees is not always what the server sends. Test bulk actions (download, zip, export), test auto-generated content, and revisit basic products: even Google Drive hides edge cases in plain sight.
No complex payloads, no token hijacking โ just a zip file revealing more than it should. The best vulnerabilities are often hidden in the mundane.
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.