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.
Originally disclosed on Microsoft
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
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.