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 FencerVendor 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 solraffected: no fix available
-
Red Hat JBoss Data Grid 6.2fixed: vendor fix RHSA-2014:0029
-
Red Hat JBoss Web Framework Kit 2.4fixed: 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
-
issues.apache.org
/jira/browse/SOLR-4882
web, patch
-
github.com
/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910
web
-
agarri.fr
/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html
web, exploit
-
rhn.redhat.com
/errata/RHSA-2014-0029.html
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-1844.html
vendor-advisory, web
-
secunia.com
/advisories/55730
third-party-advisory, vendor-advisory
-
securityfocus.com
/bid/63935
vdb-entry
-
openwall.com
/lists/oss-security/2013/11/27/1
mailing-list, web
-
lucene.apache.org
/solr/4_6_0/changes/Changes.html
web
-
secunia.com
/advisories/59372
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2013-6397
advisory
-
github.com
/apache/lucene-solr
package
-
web.archive.org
/web/20170307173358/http://www.securityfocus.com/bid/63935
web
Sources
- CVE List CVE-2013-6397
- GitHub Advisory GHSA-j8qw-mwmv-28cg
- NVD CVE-2013-6397
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.