Miggo Logo

CVE-2014-0225: Improper Restriction of XML External Entity Reference in Spring Framework

8.8

CVSS Score
3.0

Basic Information

EPSS Score
0.52113%
Published
5/13/2022
Updated
2/27/2024
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:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.springframework:spring-webmvcmaven>= 4.0.0, < 4.0.54.0.5
org.springframework:spring-webmvcmaven>= 3.0.0, < 3.2.83.2.8

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from XML processors not disabling external entity resolution by default. The commit diffs show fixes where EntityResolver/XMLResolver were added to block external DTD resolution. The vulnerable functions are the original implementations of these XML parsing methods that lacked these protections. Each identified function directly handles XML parsing configuration and was modified in the patches to mitigate XXE, confirming their role in the vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

W**n pro**ssin* us*r provi*** XML *o*um*nts, t** Sprin* *r*m*work *.*.* to *.*.*, *.*.* to *.*.*, *n* possi*ly **rli*r unsupport** v*rsions *i* not *is**l* *y ****ult t** r*solution o* URI r***r*n**s in * *T* ***l*r*tion. T*is *n**l** *n XX* *tt**k.

Reasoning

T** vuln*r**ility st*ms *rom XML pro**ssors not *is**lin* *xt*rn*l *ntity r*solution *y ****ult. T** *ommit *i**s s*ow *ix*s w**r* `*ntityR*solv*r`/`XMLR*solv*r` w*r* ***** to *lo*k *xt*rn*l *T* r*solution. T** vuln*r**l* *un*tions *r* t** ori*in*l i