(0Day) Google Drive File Sharing Mark-of-the-Web Bypass Vulnerability
The Google Drive desktop application for Windows did not apply the Mark-of-the-Web to local copies of files synced from an untrusted account. An attacker could use this to get files onto a victim's machine without the usual warning, and the text claims this could lead to arbitrary code execution as the current user.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass the Mark-of-the-Web protection mechanism on affected installations of Google Drive. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the sync client failed to propagate the internet-origin zone identifier to files it wrote locally from shared cloud content.
Impact
An attacker could get a malicious file onto the victim's machine without the Mark-of-the-Web warning and potentially execute arbitrary code as the current user, though the vendor disputed that the issue was severe enough to fix.
What the attacker needed
Google Drive desktop app on Windows; Attacker shares a file from an untrusted account; Victim syncs or opens the shared file
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 report has not been written yet. The Original tab links to the source.
Windows marks files that come from the internet with a hidden flag called the Mark-of-the-Web, so that opening them shows a security warning. Google Drive is supposed to add that flag when it downloads files shared by someone else, but it did not. Without the flag, a dangerous file looks like an ordinary local file and can be opened with fewer warnings.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.