Skip to content
RCE Advisory Advanced CVE-2018-8495

Microsoft Edge Hazardous URI Insufficient UI Warning Remote Code Execution Vulnerability

Microsoft Edge mishandled URIs in certain schemes, failing to warn the user before a dangerous navigation and not sanitising special characters in the URI. An attacker could trick a user into a UI action that opened a dangerous file, potentially executing arbitrary commands as the current user.

Abdulrahman Alqabandi Follow

Originally disclosed on Zero Day Initiative

Medium 6.8 View original

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft Edge. User interaction is required to exploit this vulnerability in that the target must visit a malicious web page and perform a UI action.

@qab, on the Zero Day Initiative

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 failed to sanitise special characters in URIs of certain schemes and did not present a clear warning before handing the navigation off to the operating system.

Impact

An attacker could execute code in the context of the current user at medium integrity, but the victim must visit a malicious page and perform a UI action.

What the attacker needed

Victim uses Microsoft Edge; victim visits a malicious page; victim performs a UI action

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.

A web browser can be asked to open links that use special schemes, which tell the computer to launch another program or file rather than show a web page. Here the browser did not clearly warn the person that something risky was about to open, and it did not clean up odd characters in the link. So a malicious page could get someone to click and end up running a file on their machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.