Skip to content
RCE Advisory Advanced CVE-2018-8420

MS XML Remote Code Execution Vulnerability (CVE-2018-8420)

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

Simon Zuckerbraun Follow

Originally disclosed on Microsoft

Critical 7.5 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 Core Services

Microsoft XML Core Services

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by Simon Zuckerbraun working with Trend Micro's Zero Day Initiative. 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 specially crafted input, leading to memory corruption or unsafe processing.

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 visits a crafted website; attacker convinces user to click a 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 structured data. Because the parser did not handle certain input safely, a malicious website could make it run the attacker's code on the visitor's computer. The attacker cannot force someone to visit the site, so 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 Simon Zuckerbraun

View all

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