# CVE-2014-3120

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.

- Page: https://www.vulneraibility.com/cve/CVE-2014-3120
- CVSS: 8.1
- Known exploited: yes, in CISA KEV since 2022-03-25; CISA due date 2022-04-15
- EPSS: 88.56% (percentile 99.8)
- Public exploit code: 2 on Exploit-DB · 1 Metasploit module · 5 GitHub proofs of concept · 1 Nuclei template (first 2014-05-13)
- CISA SSVC: exploitation active, automatable no, technical impact partial (assessed 2025-02-10)
- Weakness: CWE-284
- Published: 2014-07-28

## Affected

- elastic:elasticsearch

## References

- [other] https://www.elastic.co/blog/logstash-1-4-3-released
- [exploit] http://www.exploit-db.com/exploits/33370
- [other] http://www.securityfocus.com/bid/67731
- [other] http://www.osvdb.org/106949
- [other] http://bouk.co/blog/elasticsearch-rce/
- [other] http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
- [other] https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
- [other] https://www.elastic.co/community/security/
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
