CVE Catalog

CVE-2013-0340

Medium
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
19.43%

97th percentile - higher than 97% of all known CVEs

Summary

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function. This allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue.

Risk Assessment

Attackers can exploit the vulnerability to leak sensitive files, scan the internal network, or cause a denial of service. This can lead to data disclosure and disruption of XML-processing applications.

Recommendation

Update the expat library to version 2.4.0 or later. In XML-processing applications, disable external entity expansion or use the XML_SetEntityDeclHandler function for safe handling.

Other vulnerabilities in expat

See all
Original NVD description (English source)

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS