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.
Remediation
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/archive/1/536855/100/0/threaded
http://www.securityfocus.com/bid/75113
https://bugzilla.redhat.com/show_bug.cgi?id=1230761
https://www.elastic.co/community/security/
Related Vulnerabilities
CVE-2017-5651 Vulnerability in maven package org.apache.tomcat:tomcat-coyote
CVE-2022-28220 Vulnerability in maven package org.apache.james:james-server-protocols-imap4
CVE-2018-14041 Vulnerability in maven package org.webjars.bowergithub.twbs:bootstrap
CVE-2020-28446 Vulnerability in npm package ntesseract
CVE-2022-25914 Vulnerability in maven package com.google.cloud.tools:jib-core