{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/43821?format=json","vulnerability_id":"VCID-x8h4-av18-cbgs","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nDirectory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors related to snapshot API calls.","aliases":[{"alias":"CVE-2015-5531"},{"alias":"GHSA-jjq8-vfjq-j6v4"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/62954?format=json","purl":"pkg:maven/org.elasticsearch/elasticsearch@1.6.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6eke-3z1k-yqfp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@1.6.1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/62953?format=json","purl":"pkg:maven/org.elasticsearch/elasticsearch@1.6.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6eke-3z1k-yqfp"},{"vulnerability":"VCID-x8h4-av18-cbgs"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@1.6.0"}],"references":[{"reference_url":"http://packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html"},{"reference_url":"http://packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html"},{"reference_url":"http://packetstormsecurity.com/files/133964/ElasticSearch-Snapshot-API-Directory-Traversal.html","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"http://packetstormsecurity.com/files/133964/ElasticSearch-Snapshot-API-Directory-Traversal.html"},{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-5531.json","reference_id":"","reference_type":"","scores":[],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-5531.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2015-5531","reference_id":"","reference_type":"","scores":[{"value":"0.92032","scoring_system":"epss","scoring_elements":"0.99717","published_at":"2026-06-04T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2015-5531"},{"reference_url":"https://github.com/elastic/elasticsearch/commit/df1427a2935237fb61fc641984f9c76478627fec","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/elastic/elasticsearch/commit/df1427a2935237fb61fc641984f9c76478627fec"},{"reference_url":"https://www.elastic.co/community/security","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.elastic.co/community/security"},{"reference_url":"https://www.elastic.co/community/security/","reference_id":"","reference_type":"","scores":[],"url":"https://www.elastic.co/community/security/"},{"reference_url":"https://www.exploit-db.com/exploits/38383","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.exploit-db.com/exploits/38383"},{"reference_url":"https://www.exploit-db.com/exploits/38383/","reference_id":"","reference_type":"","scores":[],"url":"https://www.exploit-db.com/exploits/38383/"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=1244238","reference_id":"1244238","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1244238"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5531","reference_id":"CVE-2015-5531","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5531"},{"reference_url":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/38383.py","reference_id":"CVE-2015-5531;OSVDB-124882","reference_type":"exploit","scores":[],"url":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/38383.py"},{"reference_url":"https://github.com/advisories/GHSA-jjq8-vfjq-j6v4","reference_id":"GHSA-jjq8-vfjq-j6v4","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-jjq8-vfjq-j6v4"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":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."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[{"date_added":"2015-10-02","description":"ElasticSearch 1.6.0 - Arbitrary File Download","required_action":null,"due_date":null,"notes":null,"known_ransomware_campaign_use":false,"source_date_published":"2015-10-02","exploit_type":"webapps","platform":"linux","source_date_updated":"2015-10-02","data_source":"Exploit-DB","source_url":""},{"date_added":null,"description":"'This module exploits a directory traversal vulnerability in\n          ElasticSearch, allowing an attacker to read arbitrary files\n          with JVM process privileges, through the Snapshot API.'","required_action":null,"due_date":null,"notes":"Reliability:\n  - unknown-reliability\nStability:\n  - unknown-stability\nSideEffects:\n  - unknown-side-effects\n","known_ransomware_campaign_use":false,"source_date_published":null,"exploit_type":null,"platform":"","source_date_updated":null,"data_source":"Metasploit","source_url":"https://github.com/rapid7/metasploit-framework/tree/master/modules/auxiliary/scanner/http/elasticsearch_traversal.rb"}],"severity_range_score":"4.0 - 6.9","exploitability":"2.0","weighted_severity":"6.2","risk_score":10.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-x8h4-av18-cbgs"}