Skip to content
XXE Advisory Intermediate CVE-2019-0948

Windows Event Viewer Information Disclosure Vulnerability (CVE-2019-0948)

The Windows Event Viewer parsed XML input containing a reference to an external entity without proper restrictions. An attacker could create a crafted XML file and convince an authenticated user to import it, allowing the attacker to read arbitrary files from the file system.

Eran Vaknin Follow

Originally disclosed on Microsoft

Medium 4.7 View original

Description

An information disclosure vulnerability exists in the Windows Event Viewer (eventvwr.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 import the file. The update addresses the vulnerability by modifying the way that the Event Viewer parses XML input.

FAQ

What type of information could be disclosed by this vulnerability? The type of information that could be disclosed if an attacker successfully exploited this vulnerability is unauthorized file system access - reading from the file system.

Microsoft Windows

Microsoft Windows

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Eran Vaknin , Alon Boxiner , Oded Vanunu. 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 Event Viewer's XML parser resolved external entity declarations instead of disabling them, allowing file content to be substituted into the parsed document.

Impact

An attacker could read arbitrary files from the victim's file system, limited to what the importing user is allowed to access.

What the attacker needed

Victim runs Windows Event Viewer; victim imports a crafted XML file

The fix

The vulnerability was fixed by modifying the way the Event Viewer parses XML input.

How it was found

  1. Create a file containing specially crafted XML content with an external entity declaration.
  2. Convince an authenticated user to import that file into Windows Event Viewer.

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 files can include special references that tell a program to pull in content from elsewhere, including files on the computer. If a program follows those references without checking, someone can trick it into showing the contents of files it should not read. Here, the Windows Event Viewer did that when opening a malicious XML file, so a victim who imported the file could leak local files to the attacker.

What is XXE?

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

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.