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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.solr » solr-core | < 4.6.0 | 4.6.0 |
Blast radius
54% of the dependent artifacts (550) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.openmrs.api » openmrs-api564 usages
- org.openmrs.web » openmrs-web521 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.apache.solr » solr-test-framework181 usages
- org.hibernate » hibernate-search-orm156 usages
- org.opencms » opencms-core134 usages
- org.jahia.server » jahia-impl120 usages
- org.openmrs.module » webservices.rest-omod103 usages
- org.hibernate » hibernate-search101 usages
- org.modeshape » modeshape-jcr93 usages
- org.hibernate » hibernate-search-engine88 usages
- org.infinispan » infinispan-server-hotrod85 usages
- org.openmrs.module » providermanagement-api81 usages
- org.infinispan » infinispan-query79 usages
- org.openmrs.module » htmlformentry-api62 usages
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.
References
| Advisory | NVD CVE-2013-6397 | nvd.nist.gov |
| Package | apache/lucene-solr | github.com |
| Web | apache/lucene-solr commit da34b18 | github.com |
| Web | jira/browse/SOLR-4882 | issues.apache.org |
| Web | web/20170307173358/http:/www.securityfocus.com/bid/63935 | web.archive.org |
| Web | solr/4_6_0/changes/Changes.html | lucene.apache.org |
| Web | errata/RHSA-2013-1844.html | rhn.redhat.com |
| Web | errata/RHSA-2014-0029.html | rhn.redhat.com |
| Web | kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.h ... | agarri.fr |
| Web | lists/oss-security/2013/11/27/1 | openwall.com |
