Skip to content
RCE Advisory Advanced CVE-2019-0793

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

The MSXML parser mishandled user input, allowing an attacker to run malicious code on a victim's system. An attacker could host a crafted website and convince a user to visit it, after which Internet Explorer would parse the XML and execute the attacker's code.

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 failed to properly validate or sanitise user-supplied input, leading to memory corruption or unsafe processing that allowed code execution.

Impact

An attacker could run malicious code remotely and take control of the victim's system, but the victim must be convinced to visit a malicious website.

What the attacker needed

Victim uses Internet Explorer; victim clicks a link to a malicious site

How it was found

  1. An attacker hosts a specially crafted website that invokes MSXML through a web browser.
  2. The attacker convinces a user to click a link in an email or instant message that takes them to the website.
  3. Internet Explorer parses the XML content, and the attacker's malicious code runs remotely.

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 structured data. Because the component did not handle some input safely, a malicious website could make it run the attacker's code on the visitor's computer. The attacker still needs the victim to open a link, so it is not automatic.

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.