Skip to content
RCE Advisory Advanced CVE-2020-1064

MSHTML Engine Remote Code Execution Vulnerability (CVE-2020-1064)

The MSHTML engine improperly validates 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 vulnerability.

Yuki Chen Follow

Originally disclosed on Microsoft

Medium 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

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuki Chen of Qihoo 360 Vulcan Team. 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 fails to properly validate input when handling specially crafted files, leading to memory corruption or unsafe code execution.

Impact

An attacker could execute arbitrary code with the user's privileges, and if the user is an administrator, could take control of the system, install programs, view or change data, or create accounts.

What the attacker needed

Victim opens or edits a crafted file; affected Windows system with MSHTML

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.

This is a flaw in a component of Windows that handles web content. Because it does not check some input properly, a malicious file can make the computer run the attacker's code as if it were the logged-in user. The attacker needs the victim to open or edit a specially crafted file.

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 Yuki Chen

View all

93 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.