1. CVE archive
  2. 2017
  3. CVE-2017-5644

CVE-2017-5644

5.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 5.5 – Medium

Description

Apache POI in versions prior to release 3.15 allows remote attackers to cause a denial of service (CPU consumption) via a specially crafted OOXML file, aka an XML Entity Expansion (XEE) attack.

Affected products

VendorProductVersionPlatform
apache poi <= 3.14 –
All 10 Apache Poi vulnerabilities

Vulnerability type

CWE-776 Improper Restriction of Recursive Entity References in DTDs

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (Other)
If the DTD contains a large number of nested or recursive entities, this allows the attacker to expand data exponentially when the DTD is parsed, quickly consuming all system resources.

How to prevent it

Operation If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Implementation Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.

All 90 CWE-776 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org