CVE-2015-4165 Improper Access Control in Elasticsearch
Authenticated attackers can execute arbitrary code via snapshot API if specific file system permissions and external applications are present.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-4165?
CVE-2015-4165 is a high-severity code injection vulnerability in n/a, published on 9 Aug 2017. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-264
Which versions are affected by CVE-2015-4165?
2 open source packages ship an affected version, including org.elasticsearch:elasticsearch. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.elasticsearch:elasticsearch Maven | All versions | 1.6.0 |
org.elasticsearch:elasticsearch Maven | All versions | 1.6.0 |
Products include Elasticsearch Elasticsearch.
How do I fix CVE-2015-4165?
Upgrade org.elasticsearch:elasticsearch to 1.6.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2015-4165 being exploited?
There is no known exploitation of CVE-2015-4165 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fh5x-4j57-6q5x.