.NET Framework Information Disclosure Vulnerability (CVE-2016-3255)
The .NET Framework improperly parsed XML input containing a reference to an external entity, allowing an attacker to read arbitrary files. An attacker could craft XML data and induce an application to parse it, for example by uploading an XML file to a web application.
Originally disclosed on Microsoft
Description
An information disclosure vulnerability exists when .NET Framework 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 declaration. To exploit the vulnerability, an attacker could create specially crafted XML data and induce an application to parse and validate the XML data. For example, an attacker could create an XML file and upload it to a web-based application. The update addresses the vulnerability by modifying the way that the XML External Entity (XXE) parser parses XML input.
.NET Framework
.NET Framework
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 XML parser resolved external entity declarations without disabling them or restricting access to local files.
Impact
An attacker could read arbitrary files on the server.
What the attacker needed
Application parses attacker-supplied XML
The fix
The update addresses the vulnerability by modifying the way that the XML External Entity (XXE) parser parses XML input.
How it was found
- Create specially crafted XML data containing an external entity declaration.
- Induce an application to parse and validate the XML data, for example by uploading an XML file to a web-based application.
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 allows documents to refer to other files or resources using 'entities'. If a parser follows these references without checking, an attacker can make it read local files and include their contents in the output. This is called an XML External Entity (XXE) attack.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.