(0Day) Dropbox Desktop Folder Sharing Mark-of-the-Web Bypass Vulnerability
The Dropbox desktop application fails to apply the Mark-of-the-Web to files synced from a shared folder owned by an untrusted account. An attacker could exploit this to execute arbitrary code in the context of 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 Dropbox Desktop. 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 Dropbox desktop application does not propagate the Mark-of-the-Web zone identifier when syncing files from shared folders owned by untrusted accounts.
Impact
An attacker could execute arbitrary code in the context of the current user, but user interaction is required (visiting a malicious page or opening a malicious file).
What the attacker needed
Dropbox Desktop installed; Attacker shares a folder with the victim; Victim opens a malicious 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.
The Mark-of-the-Web is a security flag that Windows adds to files downloaded from the internet, warning you before you open them. Dropbox normally syncs files from other people, but it forgot to add this flag to files from shared folders. That means a malicious file could run without the usual warning, letting an attacker run code on your computer.
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.