Skip to content
RCE Advisory Advanced CVE-2019-0541

MSHTML Engine Remote Code Execution Vulnerability (CVE-2019-0541)

The MSHTML engine failed to properly validate input, allowing an attacker to execute arbitrary code in the context of the current user. An attacker could trick a user into editing a specially crafted file to exploit the flaw and potentially take control of the system.

Eduardo Braun Prado Follow

Originally disclosed on Microsoft

High 7.5 View original

Description

A remote code execution vulnerability exists in the way that the MSHTML engine improperly validates input. An attacker could execute arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker who successfully exploited the vulnerability 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. In a HTML editing attack scenario, an attacker could trick a user into editing a specially crafted file that is designed to exploit the vulnerability. The security update addresses the vulnerability by modifying how MSHTML engine validates input.

Internet Explorer

Internet Explorer

The original report as published on the Microsoft Security Response Center, by Eduardo Braun Prado working with iDefense Labs. 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 the MSHTML engine did not properly validate input, which allowed crafted content to trigger code execution.

Impact

An attacker could execute arbitrary code as the current user and, if that user has administrative rights, take control of the affected system.

What the attacker needed

Victim edits a crafted file; user runs with admin rights for full impact

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.

MSHTML is the component Windows uses to display web content. Because it did not check its input carefully, a malicious file could make it run the attacker's code as if the logged-in user had done so. If that user is an administrator, the attacker could then control the whole 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 by Eduardo Braun Prado

View all

2 more disclosed reports, best first.

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.