Skip to content
RCE Advisory Advanced CVE-2018-8495

Windows Shell Remote Code Execution Vulnerability (CVE-2018-8495)

Windows Shell mishandled URIs, so a crafted website viewed in Microsoft Edge could trigger remote code execution with the rights of the logged-on user. An attacker could then install programs, change or delete data, or create accounts, but only if the user performed a specific action.

Abdulrahman Alqabandi Follow with YongShao

Originally disclosed on Microsoft

High 4.2 View original

Description

A remote code execution vulnerability exists when Windows Shell improperly handles URIs. An attacker who successfully exploited the vulnerability could gain the same user rights as the current user. If the current user is logged on with administrative user rights, an attacker could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An attacker could host a specially crafted website that is designed to exploit the vulnerability through Microsoft Edge, and then convince a user to view the website. The attack requires specific user interaction which an attacker would need to trick the user into performing. There is no way an attacker could exploit the vulnerability without the user performing the specific action. The security update addresses the vulnerability by modifying how Windows Shell handles URIs.

Windows Shell

Windows Shell

The original report as published on the Microsoft Security Response Center, by @qab working with Trend Micro's Zero Day Initiative. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 Windows Shell did not properly validate or handle URIs passed to it, allowing a crafted URI to lead to code execution.

Impact

An attacker could gain the same rights as the current user, and full control of the system if that user is an administrator, but only after tricking the user into a specific action.

What the attacker needed

Victim uses Microsoft Edge; victim visits a crafted website; victim performs a specific action

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 URI is a web-style address, like a link that starts with a scheme name instead of http. Windows Shell is the part of Windows that opens files, folders and links. Here it did not check such addresses properly, so a malicious page could make Windows run the attacker's code, but the user had to be tricked into doing something first.

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 Microsoft

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.