Skip to content
RCE Advisory Advanced CVE-2019-0795

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

The MSXML parser mishandled user input, allowing an attacker to run malicious code when a victim visited a crafted website. The attacker could take control of the victim's system, but had to convince the user to visit the site.

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 did not properly validate or handle certain input, leading to memory corruption or unsafe code execution.

Impact

An attacker could run malicious code remotely and take control of the user's system, but only if the user was convinced to visit a crafted website.

What the attacker needed

Victim uses Internet Explorer; victim clicks a link to a crafted 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. When Internet Explorer parses the XML content, the attacker's malicious code runs.

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 data format. If a victim opened a malicious website, the flaw could let the attacker run their own programs on the victim's computer. The attacker could not force anyone to visit the site, so they had to trick the user 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.