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

High 7.5 Published Updated

An attacker can import arbitrary local files into the content repository, leading to potential information disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-3353?

CVE-2012-3353 is a high-severity path traversal vulnerability in Apache Sling, published on 8 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Apache Sling JCR ContentLoader 2.1.4 XmlReader used in the Sling JCR content loader module makes it possible to import arbitrary files in the content repository, including local files, causing potential information leaks. Users should upgrade to version 2.1.6 of the JCR ContentLoader

Weakness: CWE-200

Which versions are affected by CVE-2012-3353?

2 open source packages ship an affected version, including org.apache.sling:org.apache.sling.jcr.contentloader. It affects 1 product.

PackageAffectedFixed in
org.apache.sling:org.apache.sling.jcr.contentloader MavenAll versions2.1.6
org.apache.sling:org.apache.sling.jcr.contentloader MavenAll versions2.1.6

Products include Apache Sling Jcr Contentloader.

How do I fix CVE-2012-3353?

Upgrade org.apache.sling:org.apache.sling.jcr.contentloader to 2.1.6 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2012-3353 being exploited?

There is no known exploitation of CVE-2012-3353 in the wild and no public exploit code.

Sources

Also known as GHSA-wjp3-4xcq-598p.

Is CVE-2012-3353 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free