(0Day) Google Drive ZIP File Mark-of-the-Web Bypass Remote Code Execution Vulnerability
Google Drive did not warn users when a shared ZIP archive prompted them to extract its files into their own Drive using a cloud-based app, so the Mark-of-the-Web protection was not carried over. An attacker could use this to run arbitrary code as the current user after the victim interacts with a malicious file or page.
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 cloud-based extraction flow did not propagate the Mark-of-the-Web tag to the extracted files and gave no warning about the risk.
Impact
An attacker could execute arbitrary code in the context of the current user, though the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim opens a shared ZIP archive; victim accepts extraction via a cloud app
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.
Mark-of-the-Web is a Windows tag that marks files downloaded from the internet so the system can warn you or open them in a safer mode. Here, files pulled out of a shared ZIP through Google Drive lost that tag, so they were treated as trusted local files. That means a booby-trapped file could run code on the victim's computer without the usual warning.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.