Skip to content
Access control Write-up Beginner

Google Drive Auth Bypass: How View-Only Folder Sharing Leaked Google Form Responses ($5000 Bug)

A Google Drive folder shared with view-only access allowed recipients to download the entire folder as a zip, which included a hidden zip containing a CSV of Google Form responses. An attacker with view-only access could thus obtain private form submission data without being granted explicit access.

infosecwriteups.com

Published on infosecwriteups.com

A simple Google Drive folder sharing misconfiguration led to a critical authorization bypass that allowed anyone with “View-only” access to download private Google Form responses. The bug, responsibly disclosed by security researcher Andrew Sirkin, earned a $5000 reward from Google under its Vulnerability Reward…

Aditya Sunny, on infosecwriteups.com

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, Google Drive's 'Download All' feature included auto-generated form response files that were not shown in the UI and not covered by the folder's view-only permission model.

Impact

Anyone with view-only access to a shared folder could download private Google Form responses, potentially exposing sensitive data such as email addresses, employee feedback, customer complaints, and security issue reports.

What the attacker needed

A Google account; A shared folder with view-only access; A Google Form inside the folder with responses

The fix

Google should exclude auto-generated form response files from folder downloads unless explicit access is granted, and the issue was acknowledged and rewarded, implying it was fixed.

How it was found

  1. Create a folder on Google Drive.
  2. Inside the folder, create a Google Form and a Google Doc.
  3. Submit test data into the form.
  4. Share the folder link with anyone using 'Viewer' access.
  5. On the recipient side, click 'Download All' from the folder options.
  6. Extract the downloaded zip, find another zip inside, and extract it to reveal a CSV of form responses.

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.

When you share a folder on Google Drive with 'view-only' access, you expect people to see the files but not download extra hidden data. However, Google Forms automatically save responses in a hidden file inside the folder. When someone downloads the whole folder as a zip, that hidden file is included, so they get the private responses too. This is a problem because the person was never given permission to see those responses.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.