CVE-2015-4165: Elasticsearch - Unrestricted File Upload
- Cve: CVE-2015-4165
- Name: Elasticsearch - Unrestricted File Upload
- Description: The snapshot API in Elasticsearch before 1.6.0 when another application exists on the system that can read Lucene files and execute code from them, is accessible by the attacker, and the Java VM on which Elasticsearch is running can write to a location that the other application can read and execute from, allows remote authenticated users to write to and create arbitrary snapshot metadata files, and potentially execute arbitrary code.
- Impact: Attackers can write arbitrary files and potentially execute malicious code, leading to remote code execution and system compromise.
- Remediation: Update Elasticsearch to version 1.6.0 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs authenticated access and presence of malicious application
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0445
- Epss percentile: 0.91651
- Assignee: [email protected]
- Published at: 2017-08-09T16:29:00Z
- Age in days: 3394
- Modified at: 2026-06-17T00:26:51Z
- References total: 6
- Products total: 1
- Oss: yes
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-4165
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-264 | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.elastic.co/community/security/ | Vendor Advisory |
| http://www.securityfocus.com/bid/75113 | Mitigation, Third Party Advisory, VDB Entry |
| http://packetstormsecurity.com/files/132234/Elasticsearch-1.5.2-File-Creation.html | Third Party Advisory, VDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=1230761 | Issue Tracking, Third Party Advisory |
| http://www.securityfocus.com/archive/1/535727/100/0/threaded | |
| http://www.securityfocus.com/archive/1/536855/100/0/threaded |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| elasticsearch:elasticsearch | = 1.5.2 | no | nvd | /v1/products/elasticsearch/elasticsearch |
Index
- Repositories: 21
- Repositories high signal: 13
- Packages: 1
Exploitation
- Exploitation seen: yes
- Remote: yes
- Authentication required: yes
- Exposed hosts: 7763
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports