Miggo Logo

CVE-2012-3353:
Apache Sling JCR ContentLoader XmlReader Arbitrary File Load

7.5

CVSS Score
3.0

Basic Information

EPSS Score
0.54488%
Published
5/14/2022
Updated
8/29/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.sling:org.apache.sling.jcr.contentloadermaven< 2.1.62.1.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability centers on improper file element handling in XmlReader when location context is missing. The JIRA ticket SLING-2512 explicitly addresses this by restricting file element usage, indicating the read method (or equivalent XML processing entry point) in XmlReader was responsible for unsafe file operations. As the content loader's XML parsing entry point, this function would appear in stack traces when processing malicious imports attempting to load local files.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** *p**** Slin* J*R *ont*ntLo***r *.*.* XmlR****r us** in t** Slin* J*R *ont*nt lo***r mo*ul* m*k*s it possi*l* to import *r*itr*ry *il*s in t** *ont*nt r*pository, in*lu*in* lo**l *il*s, **usin* pot*nti*l in*orm*tion l**ks. Us*rs s*oul* up*r*** to

Reasoning

T** vuln*r**ility **nt*rs on improp*r *il* *l*m*nt **n*lin* in XmlR****r w**n lo**tion *ont*xt is missin*. T** JIR* ti*k*t SLIN*-**** *xpli*itly ***r*ss*s t*is *y r*stri*tin* *il* *l*m*nt us***, in*i**tin* t** r*** m*t*o* (or *quiv*l*nt XML pro**ssin