Skip to content
XXE Advisory Intermediate CVE-2017-0170

Windows Performance Monitor Information Disclosure Vulnerability (CVE-2017-0170)

The Windows Performance Monitor Console improperly parses XML input that references an external entity, allowing an attacker to read arbitrary files via an XML external entity declaration. An attacker could craft malicious XML and convince an authenticated user to import it as a Data Collector Set.

David Fernandez Follow

Originally disclosed on Microsoft

Medium 5.5 View original

Description

An information disclosure vulnerability exists in the Windows Performance Monitor Console 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 specially crafted XML data and convince an authenticated user to create a Data Collector Set and import the file. To create a Data Collector Set, the user must be a member of the Performance Log Users or Local Administrators group. The update addresses the vulnerability by modifying the way that the Windows Performance Monitor Console parses XML input.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by David Fernandez of Sidertia Solutions. 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 Windows Performance Monitor Console parses XML input without properly restricting external entity references, enabling XXE.

Impact

An attacker could read arbitrary files on the victim's system, but only if the victim is an authenticated user with sufficient privileges to create a Data Collector Set.

What the attacker needed

Victim is authenticated user; victim in Performance Log Users or Local Administrators…; victim imports crafted XML as Data Collector Set

The fix

The vulnerability was fixed by modifying the way the Windows Performance Monitor Console parses XML input.

How it was found

  1. Create specially crafted XML data that declares an external entity.
  2. Convince an authenticated user who is a member of the Performance Log Users or Local Administrators group to create a Data Collector Set and import 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.

XML is a common format for structured data, and it can include special references called entities. If a program processes XML without disabling external entities, an attacker can make it fetch local files and include their contents in the output. Here, the Performance Monitor tool did not block such references, so a crafted file could reveal files on the victim's computer.

What is XXE?

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

More by David Fernandez

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.

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.