MODERATE

CVE-2013-6397

Improper Limitation of a Pathname to a Restricted Directory in Apache Solr

Description

Directory traversal vulnerability in SolrResourceLoader in Apache Solr before 4.6 allows remote attackers to read arbitrary files via a .. (dot dot) or full pathname in the tr parameter to solr/select/, when the response writer (wt parameter) is set to XSLT. NOTE: this can be leveraged using a separate XXE (XML eXternal Entity) vulnerability to allow access to files across restricted network boundaries.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.solr » solr-core
< 4.6.0
4.6.0

Blast radius

1affected artifacts
84affected versions
1,012dependent artifacts (est.)
12,461dependent versions

54% of the dependent artifacts (550) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,693
2 hops
3,585
3 hops
1,454
4 hops
1,209
5 hops
1,944
6 hops
1,576

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.