Apache SolrGHSA-j8qw-mwmv-28cg
Improper Limitation of a Pathname to a Restricted Directory in Apache Solr
MediumCVE-2013-6397 · Published May 17, 2022 · updated Nov 30, 2024
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.solr:solr-core Maven | < 4.6.0 | 4.6.0 |
Details and references
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-22
- Also known as
- CVE-2013-6397
- nvd.nist.gov/vuln/detail/CVE-2013-6397
- github.com/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910
- github.com/apache/lucene-solr
- issues.apache.org/jira/browse/SOLR-4882
- web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935
- lucene.apache.org/solr/4_6_0/changes/Changes.html
- rhn.redhat.com/errata/RHSA-2013-1844.html
- rhn.redhat.com/errata/RHSA-2014-0029.html
- www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html
- www.openwall.com/lists/oss-security/2013/11/27/1
More Apache Solr advisories
All Apache Solr| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 172022 | Improper Restriction of XML External Entity Reference in Apache Solr | High | 4.1.0 |
| May 172022 | XML Injection in Apache Solr | Medium | 4.3.1 |
| May 172022 | Apache Solr UpdateRequestHandler for XML resolves XML External Entities | Medium | 4.1.0 |
| May 172022 | Improper Neutralization of Input During Web Page Generation in Apache Solr | Medium6.1 | 5.1.0 |
| May 172022 | Improper Neutralization of Input During Web Page Generation in Apache Solr | Medium6.1 | 5.3.1 |
| May 142022 | Apache Solr insecure inter-node communication | High7.5 | 5.5.5+1 more |