CVE-2013-6397
MediumExploitedImproper Limitation of a Pathname to a Restricted Directory in Apache Solr
Published May 17, 2022 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2013-6397, GHSA-j8qw-mwmv-28cg, UBUNTU-CVE-2013-6397
Key Facts
Patch immediately- CVE-2013-6397 is a medium-severity vulnerability (CVSS 4.3 v2) affecting Solr (Apache), lucene-solr (debian), org.apache.solr:solr-core (maven).
- It is exploited in the wild, listed in Industry KEV feed since Sep 19, 2024. No public exploit code is known.
- EPSS estimates a 56% probability of exploitation in the next 30 days.
- Fixed versions are available, including Solr 4.5.1, lucene-solr 3.6.0+dfsg-1+deb7u1, lucene-solr 3.6.2+dfsg-2.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v2
4.3
AV:N/AC:M/Au:N/C:P/I:N/A:N
EPSS (30-day exploit likelihood)
56%
Higher than 99.0% of all scored CVEs
Exploited in the wild
Yes
1 catalog listing
Public exploit code
None known
Get the full CVE-2013-6397 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Sep 19, 2024 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
23 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SolrApache | 4.0.0, 4.0.0-alpha, 4.0.0-beta, 4.1.0, 4.2.0, 4.2.1, 4.3.0, 4.3.1 | 4.5.1 |
| lucene-solrdebian | See advisory | 3.6.2+dfsg-2 |
| org.apache.solr:solr-coremaven | See advisory | 4.6.0 |
Patched Releases
Solr
4.5.1
lucene-solr
3.6.0+dfsg-1+deb7u1, 3.6.2+dfsg-2
org.apache.solr:solr-core
4.6.0
Timeline
Publicly disclosed
May 17, 2022
Added to Industry KEV feed
Sep 19, 2024
Last updated
Aug 4, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- advisoryRHSA-2013:1844
- advisoryRHSA-2014:0029
- advisory55730
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2013-6397
FAQ
Common Questions.
Directory traversal vulnerability in SolrResourceLoader in Apache Solr before 4.6 allows remote attackers to read arbitrary files via a ..
Affected: Solr (Apache) versions 4.0.0, 4.0.0-alpha, 4.0.0-beta, 4.1.0, 4.2.0, 4.2.1, 4.3.0, 4.3.1; lucene-solr (debian); org.apache.solr:solr-core (maven). The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Sep 19, 2024.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Solr 4.5.1, lucene-solr 3.6.0+dfsg-1+deb7u1, lucene-solr 3.6.2+dfsg-2.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2013-6397 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo