← Vulnerability feed

Vulnerability record · CVE-2015-6096 · published 11 November 2015

CVE-2015-6096: Microsoft .NET Framework XML DTD parser XXE file disclosure

Microsoft · .Net Framework

The XML DTD parser in Microsoft .NET Framework versions 2.0 SP2 through 4.6 resolves external entity declarations, allowing an XML External Entity (XXE) attack. A remote attacker who can supply XML to a vulnerable application can cause the parser to read local files and disclose their contents, which matters because .NET XML parsing is widely used in server-side and client-side code.

4.3 CVSS 2.0 Medium EPSS 61% · top 0.9% CWE-200 · Information exposure
4.3CVSS 2.0 base score
61%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

The XML DTD parser in Microsoft .NET Framework 2.0 SP2, 3.5, 3.5.1, 4, 4.5, 4.5.1, 4.5.2, and 4.6 allows remote attackers to read arbitrary files via an external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue, aka ".NET Information Disclosure Vulnerability."

AV:N/AC:M/Au:N/C:P/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityThe flaw allows unauthenticated remote file disclosure in a widely deployed framework and has a very high EPSS score, though it is not in KEV and requires medium access complexity.

What it is

The XML DTD parser in Microsoft .NET Framework versions 2.0 SP2 through 4.6 resolves external entity declarations, allowing an XML External Entity (XXE) attack. A remote attacker who can supply XML to a vulnerable application can cause the parser to read local files and disclose their contents, which matters because .NET XML parsing is widely used in server-side and client-side code.

Impact

An attacker gains read access to arbitrary files on the host running the vulnerable .NET application, potentially exposing configuration files, credentials or other sensitive data. The CVSS 2.0 vector shows partial confidentiality impact only, with no integrity or availability effect.

Attack surface

Reached over the network (AV:N) by submitting crafted XML containing an external entity declaration and entity reference to an application that parses it with the affected .NET XML DTD parser. No authentication is required (Au:N), but the vector indicates medium access complexity (AC:M), implying some conditions such as a reachable parsing path or crafted input delivery.

Exploitation

Not listed in CISA KEV and no reference tags indicate public exploit code, but EPSS is high at 0.61 probability (99th percentile), suggesting elevated likelihood of exploitation activity.

What to do

  • Apply the Microsoft MS15-118 security update for the affected .NET Framework versions.
  • Disable DTD processing and external entity resolution in XML parsers (for example, set XmlReaderSettings DtdProcessing to Prohibit and XmlResolver to null).
  • Avoid passing untrusted XML to the .NET XML DTD parser; validate or sanitize XML input at trust boundaries.
  • Upgrade to a supported .NET Framework version that includes the fix, since the listed versions are long out of support.

Detection

  • Search application and web server logs for XML requests containing DOCTYPE or ENTITY declarations, especially SYSTEM or file:// references.
  • Monitor for outbound or local file access patterns from XML parsing processes that read unexpected files such as web.config or system files.
  • Use endpoint or file integrity monitoring to alert on reads of sensitive configuration files by .NET application processes.
  • Review code and static analysis findings for XmlReader, XmlDocument or XDocument usage with DTD processing enabled.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2015-6096 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-0646Microsoft .NET Framework input validation flaw enables remote code executionCVE-2020-0646 is a critical remote code execution vulnerability in the Microsoft .NET Framework caused by improper input validation, classified as XM…KEVEPSS 99%analysed7.8CVE-2020-1147Microsoft .NET Framework, SharePoint, and Visual Studio XML Deserialization RCEThe software fails to check the source markup of XML input, allowing crafted XML to trigger unsafe deserialization and remote code execution. It affe…KEVEPSS 94%analysed7.8CVE-2017-8759Microsoft .NET Framework remote code execution via malicious documentMicrosoft .NET Framework versions 2.0 through 4.7 contain a code injection flaw that lets an attacker run arbitrary code when a crafted document or a…KEVEPSS 89%analysed7.8CVE-2015-1671Microsoft DirectWrite TrueType Font Parsing Remote Code ExecutionThe Windows DirectWrite library fails to properly handle crafted TrueType fonts, allowing memory corruption that can lead to arbitrary code execution…KEVEPSS 49%analysed7.5CVE-2024-29059Microsoft .NET Framework error message information disclosureCVE-2024-29059 is an information disclosure flaw in Microsoft .NET Framework, classified as CWE-209 (error message information leak). A remote, unaut…KEVEPSS 99%analysed10.0CVE-2014-4073Microsoft .net framework permissions and access controls vulnerabilityMicrosoft .NET Framework 2.0 SP2, 3.5, 3.5.1, 4, 4.5, 4.5.1, and 4.5.2 processes unverified data during interaction with the ClickOnce installer, whi…EPSS 23%10.0CVE-2014-4121Microsoft .net framework vulnerabilityMicrosoft .NET Framework 2.0 SP2, 3.5, 3.5.1, 4, 4.5, 4.5.1, and 4.5.2 does not properly parse internationalized resource identifiers, which allows r…EPSS 19%10.0CVE-2014-1806Microsoft .net framework code injection vulnerabilityThe .NET Remoting implementation in Microsoft .NET Framework 1.1 SP1, 2.0 SP2, 3.5, 3.5.1, 4, 4.5, and 4.5.1 does not properly restrict memory access…EPSS 40%

Source: NIST National Vulnerability Database (record CVE-2015-6096), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.