Skip to content
Fencer Intel
medium 4.3

CVE-2013-6397 json

Improper Limitation of a Pathname to a Restricted Directory in Apache Solr

published 12y ago modified 4mo ago also GHSA-j8qw-mwmv-28cg , EUVD-2022-4317

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
56.5%
EPSS 56.5% chance of exploitation in 30 days, percentile 99%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.solr:solr-core 4.6.0
  • lucene-solr Debian 14, Debian 13, Debian 12 3.6.2+dfsg-2

debian advisories DEBIAN-CVE-2013-6397

Is CVE-2013-6397 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-6397 updated cvss 6.4

Solr: directory traversal when loading XSL stylesheets and Velocity templates

  • Red Hat JBoss Data Grid 6 solr solr
    affected: no fix available
  • Red Hat JBoss Data Grid 6.2
    fixed: vendor fix RHSA-2014:0029
  • Red Hat JBoss Web Framework Kit 2.4
    fixed: vendor fix RHSA-2013:1844

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

56.53% chance of exploitation in the next 30 days, higher than 99% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • agarri.fr http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.solr:solr-core
<4.6.0
4.6.0

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.