CVE-2013-0340
published 2014-01-21CVE-2013-0340: expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows…
PriorityP345medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
20.09%
97.2th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | openoffice | <= 4.1.10 | — |
| apache_software_foundation | apache_openoffice | Apache OpenOffice – 4.1.10 | — |
| apache_software_foundation | apache_openoffice | OpenOffice.org – 3.4 | — |
| apple | ios_14.8_and_ipados | — | — |
| apple | ios_15_and_ipados | — | — |
| apple | ipados | < 14.8 | 14.8 |
| apple | iphone_os | < 14.8 | 14.8 |
| apple | macos | < 11.6 | 11.6 |
| apple | macos_big_sur | — | — |
| apple | security_update_2021-005_catalina | — | — |
| apple | tvos | < 15.0 | 15.0 |
| apple | tvos | — | — |
| apple | watchos | < 8.0 | 8.0 |
| apple | watchos_8 | — | — |
| debian | expat | < expat 2.4.1-2 (bookworm) | expat 2.4.1-2 (bookworm) |
| debian | libxmltok | < expat 2.4.1-2 (bookworm) | expat 2.4.1-2 (bookworm) |
| libexpat_project | libexpat | < 2.4.0 | 2.4.0 |
| python | python | >= 3.6.0 < 3.6.15 | 3.6.15 |
| python | python | >= 3.7.0 < 3.7.12 | 3.7.12 |
| python | python | >= 3.8.0 < 3.8.12 | 3.8.12 |
| python | python | >= 3.9.0 < 3.9.7 | 3.9.7 |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv6.8MEDIUM
vendor_debian6.8LOW
vendor_redhat6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA ICS
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
cisa_ics·2023-12-14
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
ICS Advisory
##
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
Release DateDecember 14, 2023
Alert CodeICSA-23-348-10
As of January 10, 2023, CISA will no longer be updating ICS security advisories for Siemens product vulnerabilities beyond the initial advisory. For the most up-to-date information on vulnerabilities in this advisory, please see Siemens' ProductCERT Security Advisories (CERT Services | Services | Siemens Global).
View CSAF
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1
- Vulnerabilities: Improper Restriction of XML External Entity Reference, Time-of-check Time-of-use (TOCTOU) Race Condition, Command Injection, Miss
Apple
CVE-2013-0340: iOS 15 and iPadOS 15
vendor_apple·2021-09-20·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: iOS 15 and iPadOS 15
Apple Security Update: About the security content of iOS 15 and iPadOS 15
Product: iOS 15 and iPadOS
Version: 15
CVE: CVE-2013-0340
Component: Kernel
Impact: A malicious application may be able to execute arbitrary code with kernel privileges
Description: A race condition was addressed with improved locking.
Apple
CVE-2013-0340: watchOS 8
vendor_apple·2021-09-20·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: watchOS 8
Apple Security Update: About the security content of watchOS 8
Product: watchOS 8
CVE: CVE-2013-0340
Component: Kernel
Impact: A malicious application may be able to execute arbitrary code with kernel privileges
Description: A race condition was addressed with improved locking.
Apple
CVE-2013-0340: tvOS 15
vendor_apple·2021-09-20·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: tvOS 15
Apple Security Update: About the security content of tvOS 15
Product: tvOS
Version: 15
CVE: CVE-2013-0340
Component: Kernel
Impact: A malicious application may be able to execute arbitrary code with kernel privileges
Description: A race condition was addressed with improved locking.
Apple
CVE-2013-0340: iOS 14.8 and iPadOS 14.8
vendor_apple·2021-09-13·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: iOS 14.8 and iPadOS 14.8
Apple Security Update: About the security content of iOS 14.8 and iPadOS 14.8
Product: iOS 14.8 and iPadOS
Version: 14.8
CVE: CVE-2013-0340
Component: Kernel
Impact: A malicious application may be able to execute arbitrary code with kernel privileges
Description: A type confusion issue was addressed with improved state handling.
Apple
CVE-2013-0340: Security Update 2021-005 Catalina
vendor_apple·2021-09-13·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: Security Update 2021-005 Catalina
Apple Security Update: About the security content of Security Update 2021-005 Catalina
Product: Security Update 2021-005 Catalina
CVE: CVE-2013-0340
Component: Kernel
Impact: A malicious application may be able to execute arbitrary code with kernel privileges
Description: A type confusion issue was addressed with improved state handling.
Apple
CVE-2013-0340: macOS Big Sur 11.6
vendor_apple·2021-09-13·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: macOS Big Sur 11.6
Apple Security Update: About the security content of macOS Big Sur 11.6
Product: macOS Big Sur
Version: 11.6
CVE: CVE-2013-0340
Component: LaunchServices
Impact: A sandboxed process may be able to circumvent sandbox restrictions
Description: A logic issue was addressed with improved state management.
Red Hat
expat: internal entity expansion
vendor_redhat·2013-02-19·CVSS 6.8
CVE-2013-0340 [MEDIUM] expat: internal entity expansion
expat: internal entity expansion
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.
Package: expat (Red Hat Enterprise Linux 5) - Will not fix
Package: expat (Red Hat Enterprise Linux
Debian
CVE-2013-0340: expat - expat before version 2.4.0 does not properly handle entities expansion unless an...
vendor_debian·2013·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: expat - expat before version 2.4.0 does not properly handle entities expansion unless an...
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.
Scope: local
bookworm: resolved (fixed in 2.4.1-2)
bullseye: open
forky: resolved (fixed in 2.4.1-2)
sid: resolved (fixed in 2.4.1-2)
tr
GHSA
GHSA-7579-q6rq-wf6r: Apache OpenOffice has a dependency on expat software
ghsa_unreviewed·2022-05-24·CVSS 6.8
CVE-2021-40439 [MEDIUM] CWE-611 GHSA-7579-q6rq-wf6r: Apache OpenOffice has a dependency on expat software
Apache OpenOffice has a dependency on expat software. Versions prior to 2.1.0 were subject to CVE-2013-0340 a "Billion Laughs" entity expansion denial of service attack and exploit via crafted XML files. ODF files consist of a set of XML files. All versions of Apache OpenOffice up to 4.1.10 are subject to this issue. expat in version 4.1.11 is patched.
GHSA
GHSA-w3v2-46wf-pq33: expat 2
ghsa_unreviewed·2022-05-05
CVE-2013-0340 [MEDIUM] CWE-611 GHSA-w3v2-46wf-pq33: expat 2
expat 2.1.0 and earlier 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.
OSV
CVE-2013-0340: expat before version 2
osv·2014-01-21·CVSS 6.8
CVE-2013-0340 [MEDIUM] CVE-2013-0340: expat before version 2
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.
No detection rules found.
No public exploits indexed.
http://openwall.com/lists/oss-security/2013/02/22/3http://seclists.org/fulldisclosure/2021/Oct/61http://seclists.org/fulldisclosure/2021/Oct/62http://seclists.org/fulldisclosure/2021/Oct/63http://seclists.org/fulldisclosure/2021/Sep/33http://seclists.org/fulldisclosure/2021/Sep/34http://seclists.org/fulldisclosure/2021/Sep/35http://seclists.org/fulldisclosure/2021/Sep/38http://seclists.org/fulldisclosure/2021/Sep/39http://seclists.org/fulldisclosure/2021/Sep/40http://securitytracker.com/id?1028213http://www.openwall.com/lists/oss-security/2013/04/12/6http://www.openwall.com/lists/oss-security/2021/10/07/4http://www.osvdb.org/90634http://www.securityfocus.com/bid/58233https://github.com/libexpat/libexpat/blob/R_2_4_1/expat/Changeshttps://lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7cc5fada6d%40%3Cannounce.apache.org%3Ehttps://lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3Ehttps://security.gentoo.org/glsa/201701-21https://support.apple.com/kb/HT212804https://support.apple.com/kb/HT212805https://support.apple.com/kb/HT212807https://support.apple.com/kb/HT212814https://support.apple.com/kb/HT212815https://support.apple.com/kb/HT212819http://openwall.com/lists/oss-security/2013/02/22/3http://seclists.org/fulldisclosure/2021/Oct/61http://seclists.org/fulldisclosure/2021/Oct/62http://seclists.org/fulldisclosure/2021/Oct/63http://seclists.org/fulldisclosure/2021/Sep/33http://seclists.org/fulldisclosure/2021/Sep/34http://seclists.org/fulldisclosure/2021/Sep/35http://seclists.org/fulldisclosure/2021/Sep/38http://seclists.org/fulldisclosure/2021/Sep/39http://seclists.org/fulldisclosure/2021/Sep/40http://securitytracker.com/id?1028213http://www.openwall.com/lists/oss-security/2013/04/12/6http://www.openwall.com/lists/oss-security/2021/10/07/4http://www.osvdb.org/90634http://www.securityfocus.com/bid/58233https://lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7cc5fada6d%40%3Cannounce.apache.org%3Ehttps://lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3Ehttps://security.gentoo.org/glsa/201701-21https://support.apple.com/kb/HT212804https://support.apple.com/kb/HT212805https://support.apple.com/kb/HT212807https://support.apple.com/kb/HT212814https://support.apple.com/kb/HT212815https://support.apple.com/kb/HT212819
2014-01-21
Published