Miggo Logo

CVE-2017-5644: Improper Restriction of Recursive Entity References in DTDs in Apache POI

5.5

CVSS Score
3.0

Basic Information

EPSS Score
0.70163%
Published
5/13/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.poi:poimaven< 3.153.15

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper DTD handling in Apache POI's XML parser configuration. The primary vulnerable function is identified as DocumentHelper.createXMLReader() based on: 1) The CVE description specifically mentions OOXML file processing 2) Standard XEE mitigation requires configuring XML parsers with FEATURE_SECURE_PROCESSING 3) Apache POI's security notice references fixes in XML parsing configuration 4) Oracle's security alert links POI's XML handling to this CVE. The createXMLReader method is the logical location for parser configuration in POI's OOXML processing stack.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*p**** POI in v*rsions prior to r*l**s* *.** *llows r*mot* *tt**k*rs to **us* * **ni*l o* s*rvi** (*PU *onsumption) vi* * sp**i*lly *r**t** OOXML *il*, *k* *n XML *ntity *xp*nsion (X**) *tt**k.

Reasoning

T** vuln*r**ility st*ms *rom improp*r *T* **n*lin* in *p**** POI's XML p*rs*r *on*i*ur*tion. T** prim*ry vuln*r**l* *un*tion is i**nti*i** *s *o*um*nt**lp*r.*r**t*XMLR****r() **s** on: *) T** *V* **s*ription sp**i*i**lly m*ntions OOXML *il* pro**ssin