[ CVE-2014-3120 · Published 28 Jul 2014 ]
Elasticsearch Remote Code Execution Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2022-03-25
- EPSS: 89% chance of exploitation in the next 30 days (higher than 100% of CVEs)
[ Description ]Official 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.
CISA: Elasticsearch enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 15 Apr 2022): Apply updates per vendor instructions.
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- bouk.co/blog/elasticsearch-rceExploit
- www.exploit-db.com/exploits/33370Exploit
- www.osvdb.org/106949Broken Link
- www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rceExploitThird Party Advisory
- www.securityfocus.com/bid/67731Exploit
- www.elastic.co/blog/logstash-1-4-3-releasedVendor Advisory
- www.elastic.co/community/securityVendor Advisory
- www.found.no/foundation/elasticsearch-securityExploit
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource