Skip to content
XXE Advisory Intermediate CVE-2017-8557

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

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 could read arbitrary files by creating a specially crafted XML file and convincing an authenticated user to open it.

SaifAllah benMassaoud Follow

Originally disclosed on Microsoft

High 5.5 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 Microsoft Common Console Document (.msc) improperly parses XML input containing a reference to an external entity, allowing XXE.

Impact

An attacker could read arbitrary files on the victim's system, 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 modifying the way that the Microsoft Common Console Document (.msc) parses 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.

This is a flaw in how a Windows file type (a .msc console document) reads XML data. XML can include references to outside files, and the program followed those references without checking, so a malicious file could make it read and reveal files on the victim's computer. The attacker needs the user to open the file.

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.