CVE-2013-6397
MEDIUM 4.3CVSS 2.0Improper Limitation of a Pathname to a Restricted Directory in Apache Solr
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.
- Published
- 7 Dec 2013
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-j8qw-mwmv-28cg
- Sources
- NVDJSONOSV GHSA-j8qw-mwmv-28cgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | solrcpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* |
<= 4.5.1 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.0.0:*:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.0.0:alpha:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.0.0:beta:*:*:*:*:*:* |
= 4.0.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.1.0:*:*:*:*:*:*:* |
= 4.1.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.2.0:*:*:*:*:*:*:* |
= 4.2.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.2.1:*:*:*:*:*:*:* |
= 4.2.1 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.3.0:*:*:*:*:*:*:* |
= 4.3.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.3.1:*:*:*:*:*:*:* |
= 4.3.1 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.4.0:*:*:*:*:*:*:* |
= 4.4.0 | |
| NVD | apache | solrcpe:2.3:a:apache:solr:4.5.0:*:*:*:*:*:*:* |
= 4.5.0 | |
| OSV | Maven | org.apache.solr:solr-core | < 4.6.0 | 4.6.0 |
References
- 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://secunia.com/advisories/55730 · Vendor Advisory
- http://secunia.com/advisories/59372
- http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html · Exploit, WEB
- http://www.openwall.com/lists/oss-security/2013/11/27/1 · WEB
- http://www.securityfocus.com/bid/63935
- https://issues.apache.org/jira/browse/SOLR-4882 · Patch, WEB
- 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://web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 7 Dec 2013)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)