Skip to content
XXE Advisory Intermediate CVE-2017-8710

Windows System Information Console Information Disclosure Vulnerability (CVE-2017-8710)

The Microsoft Common Console Document (.msc) parser improperly handled XML input that referenced an external entity, allowing an attacker to read arbitrary files. An attacker could craft a malicious XML file and convince an authenticated user to open it.

SaifAllah benMassaoud Follow

Originally disclosed on Microsoft

High 4.4 View original

Description

An information disclosure vulnerability exists in the Microsoft Common Console Document (.msc) when it improperly parses XML input containing a reference to an external entity. An attacker who successfully exploited this vulnerability could read arbitrary files via an XML external entity (XXE) declaration. To exploit the vulnerability, an attacker could create a file containing specially crafted XML content and convince an authenticated user to open the file. The update addresses the vulnerability by modifying the way that the Microsoft Common Console Document (.msc) parses XML input.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by SaifAllah benMassaoud ( @benmassaou ). 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

The .msc XML parser resolved external entities instead of disabling them.

Impact

An attacker could read arbitrary files on the victim's machine, but only if the user opens the crafted file.

What the attacker needed

Victim opens a crafted .msc file; authenticated user

The fix

The vulnerability was fixed by changing how the .msc parser handles XML input.

How it was found

  1. Create a file containing specially crafted XML content.
  2. Convince an authenticated user to open the file.

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.

Some programs read XML, a structured text format, and can be tricked into fetching extra data from outside the file. Here, a Windows console file could be made to pull in a local file and show its contents, so opening a malicious file could leak data. The user has to open the crafted file for this to work.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by SaifAllah benMassaoud

View all

1 more disclosed report, 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.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.