Microsoft Edge UI Misrepresentation Remote Code Execution Vulnerability
Microsoft Edge displayed a download warning incorrectly when a crafted file name was used, misleading the user into thinking the file was harmless. An attacker could exploit this to execute code in the context of the current user.
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 the browser did not properly sanitise or validate the file name before displaying it in the download warning, allowing the warning to be spoofed.
Impact
An attacker could execute arbitrary code in the context of the current user, but the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim visits a malicious page; or opens a malicious file
The fix
Microsoft issued an update to correct this 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, your browser shows a warning if it thinks the file might be dangerous. This bug let an attacker make that warning look wrong, so you might think a harmful file is safe. If you then opened the file, the attacker could run their own code on your computer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.