CVE-2013-6397
Improper Limitation of a Pathname to a Restricted Directory in Apache Solr
CVE-2013-6397 is a medium vulnerability (CVSS 4.3) in Apache Solr, published December 7, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 56.5%, the 99th percentile. Fixed in org.apache.solr:solr-core 4.6.0.
- Severity
- 4.3 MediumCVSS 2.0, NVD
- Exploit chance
- 56.5%EPSS, 99th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
4.6.0org.apache.solr:solr-core +5 more
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.
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.solr:solr-coreMaven | before 4.6.0 | 4.6.0 |
lucene-solrDebian:12 | before 3.6.2+dfsg-2 | 3.6.2+dfsg-2 |
lucene-solrDebian:13 | before 3.6.2+dfsg-2 | 3.6.2+dfsg-2 |
lucene-solrDebian:14 | before 3.6.2+dfsg-2 | 3.6.2+dfsg-2 |
lucene-solrDebian:7 From an advisory covering 4 CVEs | before 3.6.0+dfsg-1+deb7u1, plus listed versions 3.6.0+dfsg-1 | 3.6.0+dfsg-1+deb7u1 |
org.apache.solr:solr-coreMaven | before 4.6.0, plus listed versions 1.3.01.4.01.4.13.1.03.2.0 Show 17 moreShow less3.3.03.4.03.5.03.6.03.6.13.6.24.0.04.0.0-ALPHA4.0.0-BETA4.1.04.2.04.2.14.3.04.3.14.4.04.5.04.5.1 | 4.6.0 |
What each source reports
NVD Score used 4.3
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.
- Record
CVE-2013-6397- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE ListNo score
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.
- Record
CVE-2013-6397- Updated
- 2026-11-02
EUVDEUVD-2022-4317No score
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.
- Record
EUVD-2022-4317- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j8qw-mwmv-28cgNo score
Improper 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.
- Record
GHSA-j8qw-mwmv-28cg- Weakness
- CWE-22
- Updated
- 2026-11-02
OSVNo score
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.
- Record
CVE-2013-6397- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-6397No score
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.
- Record
DEBIAN-CVE-2013-6397- Updated
- 2026-11-02
OSVGHSA-j8qw-mwmv-28cgNo score
Improper 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.
- Record
GHSA-j8qw-mwmv-28cg- Weakness
- CWE-22
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2013-6397No score
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.
- Record
UBUNTU-CVE-2013-6397- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
securityfocus.com/bid/63935
rhn.redhat.com/errata/RHSA-2014-0029.html
issues.apache.org/jira/browse/SOLR-4882
openwall.com/lists/oss-security/2013/11/27/1
secunia.com/advisories/55730
rhn.redhat.com/errata/RHSA-2013-1844.html
Show 12 moreShow less
lucene.apache.org/solr/4_6_0/changes/Changes.html
secunia.com/advisories/59372
agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html
nvd.nist.gov/vuln/detail/CVE-2013-6397
web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935
github.com/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910
github.com/advisories/GHSA-j8qw-mwmv-28cg
security-tracker.debian.org/tracker/CVE-2013-6397
github.com/apache/lucene-solr
ubuntu.com/security/CVE-2013-6397
openwall.com/lists/oss-security/2013/11/26
cve.org/CVERecord?id=CVE-2013-6397