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
http://www.osvdb.org/106949
http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
http://www.securityfocus.com/bid/67731
https://www.elastic.co/blog/logstash-1-4-3-released
https://www.elastic.co/community/security/
https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
Related Vulnerabilities
CVE-2022-38370 Vulnerability in maven package org.apache.iotdb:iotdb-grafana-connector
CVE-2022-36913 Vulnerability in maven package org.jenkins-ci.plugins:openstack-heat
CVE-2023-46589 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2022-32210 Vulnerability in npm package undici
CVE-2022-23615 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore