CVE-2014-3120
CONFIRMED EXPLOITEDElasticsearch Remote Code Execution Vulnerability
Is Elastic Elasticsearch affected by CVE-2014-3120?
Elastic Elasticsearch is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2014-3120, added on 2022-03-25. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (1 vulnerable CPE entry): elastic elasticsearch.
Published CPE version bounds mark releases below 1.2.0 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-04-15.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2015-1427Same productElastic Elasticsearch
Elasticsearch Groovy Scripting Engine Remote Code Execution Vulnerability
- CVE-2019-7609Same vendorElastic Kibana
Kibana Arbitrary Code Execution
- CVE-2015-3306Shared weaknessProFTPD ProFTPD
ProFTPD Improper Access Control Vulnerability
- CVE-2026-81963Shared weaknessMicrosoft Windows
Microsoft Windows Link Following Vulnerability
- CVE-2014-0130Neighboring entryRails Ruby on Rails
Ruby on Rails Directory Traversal Vulnerability
- CVE-2014-6287Neighboring entryRejetto HTTP File Server (HFS)
Rejetto HTTP File Server (HFS) Remote Code Execution Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Elasticsearch enables dynamic scripting, which allows remote attackers to execute arbitrary MVEL expressions and Java code.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-03-25. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Elasticsearch has been compromised.
- High Confidentiality impact (C:H): unauthorized disclosure of sensitive memory, credentials, or files.
- High Integrity impact (I:H): unauthorized modification of system state, configuration, or execution flow.
- Network service surface (Elastic Elasticsearch): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running Elastic Elasticsearch and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://bouk.co/blog/elasticsearch-rce/Exploit
- http://www.exploit-db.com/exploits/33370Exploit
- http://www.osvdb.org/106949Broken Link
- http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rceExploitThird Party Advisory
- http://www.securityfocus.com/bid/67731Exploit
- https://www.elastic.co/blog/logstash-1-4-3-releasedVendor Advisory
- https://www.elastic.co/community/security/Vendor Advisory
- https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearchExploit
- http://bouk.co/blog/elasticsearch-rce/Exploit
- http://www.exploit-db.com/exploits/33370Exploit
- http://www.osvdb.org/106949Broken Link
- http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rceExploitThird Party Advisory
- http://www.securityfocus.com/bid/67731Exploit
- https://www.elastic.co/blog/logstash-1-4-3-releasedVendor Advisory
- https://www.elastic.co/community/security/Vendor Advisory
- https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearchExploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting