CVE-2015-4165
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | elasticsearch | Not affected vulnerable_code_not_present | ||
| Maven library | org.elasticsearch:elasticsearch | Fixed | 1.6.0 | GHSA-fh5x-4j57-6q5x |
References
- http://packetstormsecurity.com/files/132234/Elasticsearch-1.5.2-File-Creation.html
- http://www.securityfocus.com/archive/1/535727/100/0/threaded
- http://www.securityfocus.com/bid/75113
- https://bugzilla.redhat.com/show_bug.cgi?id=1230761
- http://www.securityfocus.com/archive/1/536855/100/0/threaded
- https://www.elastic.co/community/security/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.