MEDIUM
GHSA-j8qw-mwmv-28cg
Improper Limitation of a Pathname to a Restricted Directory in Apache Solr
Quick fix
GHSA-j8qw-mwmv-28cg — org.apache.solr:solr-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.6.0</version> for org.apache.solr:solr-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.solr:solr-core
Introduced in:
0Fixed in: 4.6.0Fix
# pom.xml: bump <version>4.6.0</version> for org.apache.solr:solr-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2013-6397[ADVISORY]
- https://github.com/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910[WEB]
- https://github.com/apache/lucene-solr[PACKAGE]
- https://issues.apache.org/jira/browse/SOLR-4882[WEB]
- https://web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935[WEB]
- http://lucene.apache.org/solr/4_6_0/changes/Changes.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-1844.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2014-0029.html[WEB]
- http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html[WEB]
- http://www.openwall.com/lists/oss-security/2013/11/27/1[WEB]