Vigil@nce - Microsoft .NET: external XML entity injection
September 2016 by Vigil@nce
This bulletin was written by Vigil@nce : https://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can transmit malicious XML data to Microsoft .NET, in order to read a file, scan sites, or trigger a denial of service.
Impacted products: .NET Framework.
Creation date: 12/07/2016.
DESCRIPTION OF THE VULNERABILITY
XML data can contain external entities (DTD):
A program which reads these XML data can replace these entities by
data coming from the indicated file. When the program uses XML
data coming from an untrusted source, this behavior leads to:
content disclosure from files of the server
private web site scan
a denial of service by opening a blocking file
This feature must be disabled to process XML data coming from an untrusted source.
However, the Microsoft .NET parser allows external entities.
An attacker can therefore transmit malicious XML data to Microsoft .NET, in order to read a file, scan sites, or trigger a denial of service.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN