← Vulnerability feed

Vulnerability record · CVE-2013-6397 · published 7 December 2013

CVE-2013-6397: Apache Solr XSLT response writer path traversal file read

Apache · Solr

Apache Solr before 4.6 contains a directory traversal flaw in SolrResourceLoader. When the response writer is set to XSLT, the tr parameter accepts .. sequences or full pathnames, letting a remote attacker read arbitrary files from the Solr host. The issue can also be chained with a separate XXE flaw to reach files across restricted network boundaries.

4.3 CVSS 2.0 Medium EPSS 56% · top 1.0% CWE-22 · Path traversal
4.3CVSS 2.0 base score
56%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
18References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

AV:N/AC:M/Au:N/C:P/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityUnauthenticated remote arbitrary file read with a public exploit reference and very high EPSS, though CVSS v2 rates it only medium and it is not in KEV.

What it is

Apache Solr before 4.6 contains a directory traversal flaw in SolrResourceLoader. When the response writer is set to XSLT, the tr parameter accepts .. sequences or full pathnames, letting a remote attacker read arbitrary files from the Solr host. The issue can also be chained with a separate XXE flaw to reach files across restricted network boundaries.

Impact

An attacker gains read access to arbitrary files on the Solr server, which can expose configuration, credentials and other sensitive data. Chained with XXE, the read can extend to systems otherwise unreachable from the attacker.

Attack surface

Reached remotely over the network via a crafted request to solr/select/ with wt=XSLT and a malicious tr parameter. No authentication is required per the CVSS vector (Au:N), though the vector notes medium access complexity (AC:M).

Exploitation

An exploit reference is present and EPSS is high (0.56255, 99th percentile), but the CVE is not listed in CISA KEV and no ransomware use is documented.

What to do

  • Upgrade Apache Solr to 4.6 or later, which contains the fix tracked in SOLR-4882.
  • Apply the referenced Red Hat errata (RHSA-2013-1844, RHSA-2014-0029) if running the vendor-packaged build.
  • Disable or restrict the XSLT response writer (wt=XSLT) where it is not required.
  • Do not expose Solr directly to untrusted networks; place it behind authentication and network controls.
  • Address any XXE issues in the same deployment, since this flaw can be chained with them.

Detection

  • Search Solr request logs for wt=XSLT combined with tr parameters containing '..' or absolute paths.
  • Alert on requests to solr/select/ that use the XSLT response writer from unexpected source addresses.
  • Monitor for outbound or file-access activity consistent with reading files outside the Solr content directory.
  • Review Solr versions in inventory against the 4.6 fixed release.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2013-6397 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed7.5CVE-2019-17558Apache Solr VelocityResponseWriter template injection enables remote code executionApache Solr 5.0.0 through 8.3.1 renders Velocity templates through VelocityResponseWriter, and attacker-supplied templates can execute code. Paramete…KEVEPSS 99%analysed7.2CVE-2019-0193Apache Solr DataImportHandler dataConfig parameter code injectionApache Solr's DataImportHandler accepts a full DIH configuration through the request's dataConfig parameter, and because a DIH config can contain scr…KEVEPSS 84%analysed9.8CVE-2026-44825Apache solr hard-coded credentials vulnerabilityHardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.4.0 through 9.10.1 and 10.0.0 allows a …EPSS 2.8%9.8CVE-2024-45216Apache Solr PKIAuthenticationPlugin authentication bypass via fake URL path endingApache Solr instances using the PKIAuthenticationPlugin, enabled by default when Solr Authentication is used, can be bypassed by appending a fake pat…EPSS 93%analysed9.8CVE-2021-44548Apache solr improper input validation vulnerabilityAn Improper Input Validation vulnerability in DataImportHandler of Apache Solr allows an attacker to provide a Windows UNC path resulting in an SMB n…EPSS 5.1%9.8CVE-2021-27905Apache Solr ReplicationHandler masterUrl SSRF flawApache Solr's ReplicationHandler, normally exposed at /replication under a Solr core, accepts a masterUrl (leaderUrl) parameter without validating it…EPSS 93%analysed9.8CVE-2020-13957Apache Solr ConfigSet upload authorization bypass enabling RCEApache Solr versions 6.6.0 to 6.6.6, 7.0.0 to 7.7.3 and 8.0.0 to 8.6.2 block dangerous ConfigSet features that could lead to remote code execution wh…EPSS 79%analysed

Source: NIST National Vulnerability Database (record CVE-2013-6397), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.