Description
The default configuration in Elasticsearch before 1.2 enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code via the source parameter to _search. NOTE: this only violates the vendor's intended security policy if the user does not run Elasticsearch in its own independent virtual machine.
Remediation
References
http://bouk.co/blog/elasticsearch-rce/
http://www.exploit-db.com/exploits/33370
https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
http://www.osvdb.org/106949
http://www.securityfocus.com/bid/67731
http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
https://www.elastic.co/blog/logstash-1-4-3-released
https://www.elastic.co/community/security/
Related Vulnerabilities
CVE-2020-28282 Vulnerability in npm package getobject
CVE-2023-39022 Vulnerability in maven package opensymphony:oscore
CVE-2015-8103 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2017-5954 Vulnerability in npm package serialize-to-js
CVE-2019-18212 Vulnerability in maven package org.lsp4xml:org.eclipse.lsp4xml.extensions.web