CVE-2014-3120
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.
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N · source nvd
Exploit chance (EPSS)
88.559%
chance of exploitation in the next 30 days
higher than 99.8% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-03-25
Public exploit code
Yes
Exploit references (NVD and CNA): 5
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 2
Weakness
- CWE-284: Improper Access Control
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Elasticsearch Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Elastic / Elasticsearch |
| Date added | 2022-03-25 |
| Federal remediation due date | 2022-04-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-02-10 |
Timeline
- 2014-05-15First Exploit-DB entry (EDB-ID 33370)74 days before publication
- 2014-07-28Published by the CNA19:00 UTC
- 2022-03-25Added to the CISA KEV catalog2797 days after publication
- 2022-05-17GitHub advisory published (GHSA-mrfm-jxgf-2h6v)2850 days after publication
- 2025-02-10CISA SSVC decision recorded3850 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 33588 | remote | java | 2014-05-30 | yes |
| EDB-ID 33370 | webapps | multiple | 2014-05-15 | yes |
Nuclei templates:
- CVE-2014-3120: ElasticSearch v1.1.1/1.2 RCE
GitHub advisory GHSA-mrfm-jxgf-2h6v, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.elasticsearch:elasticsearch | before 1.4.0.Beta1 | 1.4.0.Beta1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| elastic elasticsearch | before 1.2.0fixed in 1.2.0 | 1.2.0 |
References
- https://www.elastic.co/blog/logstash-1-4-3-released
- https://www.elastic.co/community/security/
- http://bouk.co/blog/elasticsearch-rce/
- http://www.exploit-db.com/exploits/33370
- http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce
- http://www.securityfocus.com/bid/67731
- https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
- http://www.osvdb.org/106949
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2014-3120'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2014-3120'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2014-3120'curl 'https://api.contrastcyber.com/cve_products/CVE-2014-3120'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2014-3120'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).