Miggo Logo

CVE-2018-11758: XML External Entity Reference in Apache Cayenne

8.1

CVSS Score
3.0

Basic Information

EPSS Score
0.57311%
Published
5/14/2022
Updated
2/2/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.cayenne:cayenne-parentmaven< 3.1.33.1.3
org.apache.cayenne:cayenne-parentmaven>= 4.0, < 4.14.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The patches explicitly modify XML parser creation points to disable XXE features. The vulnerable versions lacked these security settings in three key locations: 1) SAXParser creation in Util.java, 2) DocumentBuilder creation in XMLUtil.java (core XML handling), and 3) DOM parsing in Project2Case.java (project file loading). All three would appear in stack traces when processing malicious XML input. Medium confidence for Project2Case.toDOMTree as it's test code, but the identical patch pattern suggests it was used in production flows.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T*is *****ts *p**** **y*nn* *.*.M*, *.*.M*, *.*.M* to *.*.M*, *.*.**, *.*.**, *.*.R**, *.*, *.*.*, *.*.*. **y*nn*Mo**l*r is * **sktop *UI tool s*ipp** wit* *p**** **y*nn* *n* int*n*** *or **itin* **y*nn* ORM mo**ls stor** *s XML *il*s. I* *n *tt**k*r

Reasoning

T** p*t***s *xpli*itly mo*i*y XML p*rs*r *r**tion points to *is**l* XX* ***tur*s. T** vuln*r**l* v*rsions l**k** t**s* s**urity s*ttin*s in t*r** k*y lo**tions: *) `S*XP*rs*r` *r**tion in `Util.j*v*`, *) `*o*um*nt*uil**r` *r**tion in `XMLUtil.j*v*` (