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.
Originally disclosed on Microsoft
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
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
- Create a file containing specially crafted XML content with an external entity declaration.
- 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.