CVE-2013-0340
Last modified
CVE-2013-0340 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 19.43% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libexpat Project | Libexpat | < 2.4.0 |
| Python | Python | >= 3.6.0, < 3.6.15 |
| Python | Python | >= 3.7.0, < 3.7.12 |
| Python | Python | >= 3.8.0, < 3.8.12 |
| Python | Python | >= 3.9.0, < 3.9.7 |
| Apple | Ipados | < 14.8 |
| Apple | Iphone Os | < 14.8 |
| Apple | Macos | < 11.6 |
| Apple | Tvos | < 15.0 |
| Apple | Watchos | < 8.0 |
References
- http://openwall.com/lists/oss-security/2013/02/22/3Exploit, Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/61Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/62Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/63Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/33Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/34Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/35Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/38Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/39Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/40Mailing List, Third Party Advisory
- http://securitytracker.com/id?1028213Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2013/04/12/6Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/10/07/4Mailing List, Third Party Advisory
- http://www.osvdb.org/90634Broken Link
- http://www.securityfocus.com/bid/58233Broken Link, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201701-21Third Party Advisory
- https://support.apple.com/kb/HT212804Third Party Advisory
- https://support.apple.com/kb/HT212805Third Party Advisory
- https://support.apple.com/kb/HT212807Third Party Advisory
- https://support.apple.com/kb/HT212814Third Party Advisory
- https://support.apple.com/kb/HT212815Third Party Advisory
- https://support.apple.com/kb/HT212819Third Party Advisory
- http://openwall.com/lists/oss-security/2013/02/22/3Exploit, Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/61Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/62Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Oct/63Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/33Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/34Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/35Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/38Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/39Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Sep/40Mailing List, Third Party Advisory
- http://securitytracker.com/id?1028213Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2013/04/12/6Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/10/07/4Mailing List, Third Party Advisory
- http://www.osvdb.org/90634Broken Link
- http://www.securityfocus.com/bid/58233Broken Link, Third Party Advisory, VDB Entry
- https://security.gentoo.org/glsa/201701-21Third Party Advisory
- https://support.apple.com/kb/HT212804Third Party Advisory
- https://support.apple.com/kb/HT212805Third Party Advisory
- https://support.apple.com/kb/HT212807Third Party Advisory
- https://support.apple.com/kb/HT212814Third Party Advisory
- https://support.apple.com/kb/HT212815Third Party Advisory
- https://support.apple.com/kb/HT212819Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2013-0340?
How severe is CVE-2013-0340?
How do I fix CVE-2013-0340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2013
- CVE-2013-0334Bundler before 1.7, when multiple top-level source lines are…
- CVE-2013-0335OpenStack Compute (Nova) Grizzly, Folsom (2012.2), and Essex…7.6
- CVE-2013-0336The ipapwd_chpwop function in daemons/ipa-slapi-plugins/ipa-…
- CVE-2013-0337The default configuration of nginx, possibly 1.3.13 and earl…
- CVE-2013-0338libxml2 2.9.0 and earlier allows context-dependent attackers…
- CVE-2013-0339libxml2 through 2.9.1 does not properly handle external enti…
- CVE-2013-0341Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2013-0342The CreateID function in packet.py in pyrad before 2.1 uses …4.3
- CVE-2013-0343The ipv6_create_tempaddr function in net/ipv6/addrconf.c in …
- CVE-2013-0344Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2013-0345varnish 3.0.3 uses world-readable permissions for the /var/l…
- CVE-2013-0346Apache Tomcat 7.x uses world-readable permissions for the lo…
Are you affected by CVE-2013-0340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
