Skip to content
RCE Advisory Advanced CVE-2019-0791

MS XML Remote Code Execution Vulnerability (CVE-2019-0791)

A remote code execution vulnerability exists in the Microsoft XML Core Services (MSXML) parser when it processes user input. An attacker could host a specially crafted website that invokes MSXML through a web browser, and if a user visits it, the attacker could run malicious code to take control of the user's system.

Yuki Chen Follow

Originally disclosed on Microsoft

Critical 7.8 View original

Description

A remote code execution vulnerability exists when the Microsoft XML Core Services MSXML parser processes user input. An attacker who successfully exploited the vulnerability could run malicious code remotely to take control of the user’s system. To exploit the vulnerability, an attacker could host a specially crafted website designed to invoke MSXML through a web browser. However, an attacker would have no way to force a user to visit such a website. Instead, an attacker would typically have to convince a user to either click a link in an email message or instant message that would then take the user to the website. When Internet Explorer parses the XML content, an attacker could run malicious code remotely to take control of the user’s system. The update addresses the vulnerability by correcting how the MSXML parser processes user input.

Microsoft XML

Microsoft XML

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 MSXML parser fails to properly handle certain user-supplied input, leading to memory corruption that allows code execution.

Impact

An attacker could run malicious code remotely to take control of the user’s system, but they would need to convince a user to visit a malicious website.

What the attacker needed

Victim visits a malicious website; attacker convinces victim via link

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 Microsoft component that reads XML, a common format for exchanging data. If a victim opens a malicious website, the flaw could let an attacker run their own code on the victim's computer, giving them control. The attacker cannot force someone to visit the site; they must trick the person into clicking a link.

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.