{"schemaVersion":3,"id":"CVE-2013-6397","aliases":["UBUNTU-CVE-2013-6397","DEBIAN-CVE-2013-6397","GHSA-j8qw-mwmv-28cg"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2013-12-07T20:00:00.000Z","modified":"2024-08-06T17:39:01.267Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.56255,"percentile":0.99045,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.56255},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.56255,"percentile":0.99045}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.56255,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.56255,"percentile":0.99045}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D94888D2DEAE5474","name":"Exploit Reference (agarri.fr)","source":"reference","url":"http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"apache","product":"solr","name":"Solr","label":"solr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.5.1","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0:alpha","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0:beta","noFixRecorded":false,"fixedIn":null},{"text":"4.1.0","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0","noFixRecorded":false,"fixedIn":null},{"text":"4.2.1","noFixRecorded":false,"fixedIn":null},{"text":"4.3.0","noFixRecorded":false,"fixedIn":null},{"text":"4.3.1","noFixRecorded":false,"fixedIn":null},{"text":"4.4.0","noFixRecorded":false,"fixedIn":null},{"text":"4.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.5.1 | 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","eol":{"isEol":true,"eolDate":null,"matchMethod":"cpe","cycle":{"name":"4","label":"4","eolFrom":null,"isLts":false,"isMaintained":false,"latestVersion":"4.10.4"},"product":{"name":"solr","label":"Apache Solr","category":"server-app"}},"hubHref":"/vendor/apache/solr"},{"vendor":"debian","product":"lucene-solr","name":"lucene-solr","label":"lucene-solr","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lucene-solr","purlType":"deb","versions":[{"text":"< 3.6.2+dfsg-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.2+dfsg-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lucene-solr","name":"lucene-solr","label":"lucene-solr","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lucene-solr","purlType":"deb","versions":[{"text":"< 3.6.2+dfsg-2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.6.2+dfsg-8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.2+dfsg-2 | < 3.6.2+dfsg-8","eol":null,"hubHref":null},{"vendor":"org.apache.solr","product":"solr-core","name":"org.apache.solr:solr-core","label":"solr-core","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.solr/solr-core","purlType":"maven","versions":[{"text":"< 4.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.6.0","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/63935","label":"www.securityfocus.com/bid/63935","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-0029.html","label":"rhn.redhat.com/errata/RHSA-2014-0029.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://issues.apache.org/jira/browse/SOLR-4882","label":"issues.apache.org/jira/browse/SOLR-4882","hostname":"issues.apache.org","tags":["X Refsource CONFIRM","Patch","REPORT","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/27/1","label":"www.openwall.com/lists/oss-security/2013/11/27/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://secunia.com/advisories/55730","label":"secunia.com/advisories/55730","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1844.html","label":"rhn.redhat.com/errata/RHSA-2013-1844.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"http://lucene.apache.org/solr/4_6_0/changes/Changes.html","label":"lucene.apache.org/solr/4_6_0/changes/Changes.html","hostname":"lucene.apache.org","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://secunia.com/advisories/59372","label":"secunia.com/advisories/59372","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html","label":"www.agarri.fr/kom/…","hostname":"www.agarri.fr","tags":["X Refsource MISC","Exploit","WEB"]},{"url":"https://ubuntu.com/security/CVE-2013-6397","label":"ubuntu.com/security/CVE-2013-6397","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2013/11/26","label":"www.openwall.com/lists/oss-security/2013/11/26","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-6397","label":"www.cve.org/CVERecord?id=CVE-2013-6397","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-6397","label":"security-tracker.debian.org/tracker/CVE-2013-6397","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-6397","label":"nvd.nist.gov/vuln/detail/CVE-2013-6397","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910","label":"github.com/apache/lucene-solr/commit/da34b18cb3092df4972e2b6fa5178d1059923910","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/lucene-solr","label":"github.com/apache/lucene-solr","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935","label":"web.archive.org/web/20170307173358/http://www.securityfocus.com/bid/63935","hostname":"web.archive.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DSA-2963-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-12-07T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T17:39:01.267Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:54:55.652Z","stale":false,"partial":false}}