Skip to content
Vulnerability Intelligence

CVE-2013-6397

MediumExploited

Improper 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

CatalogAddedRemediation dueRansomware use
Industry KEV feedSep 19, 2024n/aNot 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
ProductAffected versionsFixed in
SolrApache4.0.0, 4.0.0-alpha, 4.0.0-beta, 4.1.0, 4.2.0, 4.2.1, 4.3.0, 4.3.14.5.1
lucene-solrdebianSee advisory3.6.2+dfsg-2
org.apache.solr:solr-coremavenSee advisory4.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

  1. Publicly disclosed

    May 17, 2022

  2. Added to Industry KEV feed

    Sep 19, 2024

  3. Last updated

    Aug 4, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

References

15 more references in the full CVE brief

FAQ

Common Questions.

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