{"id":"CVE-2013-6397","aliases":["DEBIAN-CVE-2013-6397","DSA-2963-1","EUVD-2022-4317","GHSA-j8qw-mwmv-28cg","UBUNTU-CVE-2013-6397"],"status":"published","title":"Improper Limitation of a Pathname to a Restricted Directory in Apache Solr","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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.5653,"percentile":0.99065,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2013-12-07T20:00:00Z","modified":"2026-09-01T20:02:11Z","fixes":[{"ecosystem":"Maven","package":"org.apache.solr:solr-core","fixed_in":["4.6.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"lucene-solr","fixed_in":["3.6.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lucene-solr","fixed_in":["3.6.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lucene-solr","fixed_in":["3.6.2+dfsg-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.solr:solr-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"lucene-solr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"lucene-solr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"lucene-solr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"lucene-solr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.0+dfsg-1+deb7u1"}]}],"versions":["3.6.0+dfsg-1"],"bundled":4},{"source":"osv","ecosystem":"Maven","package":"org.apache.solr:solr-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.0"}]}],"versions":["1.3.0","1.4.0","1.4.1","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.6.1","3.6.2","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.4.0","4.5.0","4.5.1"]}],"products":[{"vendor":"apache","product":"solr"}],"references":[{"url":"http://www.securityfocus.com/bid/63935","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0029.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://issues.apache.org/jira/browse/SOLR-4882","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web","report"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/27/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://secunia.com/advisories/55730","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1844.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://lucene.apache.org/solr/4_6_0/changes/Changes.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/59372","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6397","tags":["advisory"]},{"url":"https://web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935","tags":["web"]},{"url":"https://github.com/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910","tags":["web"]},{"url":"https://github.com/advisories/GHSA-j8qw-mwmv-28cg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-6397","tags":["advisory"]},{"url":"https://github.com/apache/lucene-solr","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2013-6397","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/26","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6397","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-6397","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.","status":"published","published":"2013-12-07T20:00:00Z","modified":"2024-08-06T17:39:01.267Z","updated_at":"2026-11-02T14:34:57.499208Z"}],"euvd":[{"id":"EUVD-2022-4317","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.","status":"published","published":"2013-12-07T20:00:00Z","modified":"2024-08-06T17:39:01Z","updated_at":"2026-11-03T01:56:25.766525Z"}],"ghsa":[{"id":"GHSA-j8qw-mwmv-28cg","title":"Improper Limitation of a Pathname to a Restricted Directory in Apache Solr","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.","status":"published","published":"2022-05-17T04:04:29Z","modified":"2024-03-05T00:24:08Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:39.730152Z"}],"nvd":[{"id":"CVE-2013-6397","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.","status":"published","published":"2013-12-07T20:55:02.633Z","modified":"2026-06-17T00:00:24.923Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:02:44.596064Z"}],"osv":[{"id":"CVE-2013-6397","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.","status":"published","published":"2013-12-07T20:55:02Z","modified":"2026-04-10T03:43:06.599883Z","updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2013-6397","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.","status":"published","published":"2013-12-07T20:55:02.633Z","modified":"2026-09-01T20:02:11.023904854Z","updated_at":"2026-11-02T15:45:25.819707Z"},{"id":"DSA-2963-1","title":"lucene-solr - security update","status":"published","published":"2014-06-17T00:00:00Z","modified":"2026-03-09T01:20:24.067156Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"GHSA-j8qw-mwmv-28cg","title":"Improper Limitation of a Pathname to a Restricted Directory in Apache Solr","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.","status":"published","published":"2022-05-17T04:04:29Z","modified":"2024-11-30T05:51:59.493556Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:50.336262Z"},{"id":"UBUNTU-CVE-2013-6397","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.","status":"withdrawn","published":"2013-12-07T20:55:00Z","modified":"2025-07-16T07:31:28.35015Z","updated_at":"2026-11-02T15:54:07.421078Z"}]}}
