Microsoft Edge Mark-Of-The-Web Removal Remote Code Execution Vulnerability
The handling of downloaded files in Microsoft Edge allowed crafted web requests to strip the Mark-of-the-Web from downloaded files. An attacker could then execute code in the context of the current user at medium integrity.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Edge. 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 a flaw in how Edge processes crafted web requests when saving downloaded files, causing the Mark-of-the-Web to be omitted.
Impact
An attacker could execute arbitrary code in the context of the current user at medium integrity, but the victim must visit a malicious page or open a malicious file.
What the attacker needed
Victim visits a malicious page; victim opens a malicious file
The fix
Microsoft issued an update to correct the vulnerability.
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.
When you download a file on Windows, the system adds a hidden tag called the Mark-of-the-Web so it knows the file came from the internet and treats it with extra caution. This bug let a malicious website remove that tag from files it caused you to download. Without the tag, Windows may open the file with fewer warnings, letting the attacker's code run as you.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.