Microsoft Edge File Extension Spoofing Remote Code Execution Vulnerability
Microsoft Edge could be tricked into hiding a downloaded file's true extension, making a malicious executable appear harmless. An attacker could exploit this to execute arbitrary code if the user opens the file.
Peter Girnus - Trend Micro Zero Day Initiative Follow
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's download prompt did not properly display the true file extension when the file name was crafted in a certain way.
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; victim opens a downloaded file
The fix
Microsoft has 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, its name usually ends with an extension like .exe or .pdf that tells you what type it is. This bug let an attacker craft a file name so the real extension was hidden, so a dangerous program looked like a harmless document. If you opened it, the attacker's code could run 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.