WaratekVRT Sign in

CVE-2014-3120 Elasticsearch

Affected softwareElasticsearch
Severity8.1 High CVSS 3.1 3 scores
Fixed in1.4.0.Beta1
WeaknessImproper access control (CWE-284)
Published28 Jul 2014
Updated29 Sep 2026

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.

Exploitation status

Exploited

Confirmed real-world exploitation.

  • CISA KEV listed Confirmed exploitation in the wild. Added 2022-03-25 · remediation due 2022-04-15 · ransomware use: unknown
  • VulnCheck KEV listed Exploitation reported in the wild. 2 citations · honeypot sightings · 4 exploits · earliest 2022-03-25.
  • CISA Vulnrichment exploitation: active CISA records active exploitation. Automatable: no, technical impact: partial.
  • Indexed PoC 7 indexed Published artifacts you can open, in Exploit-DB, GitHub PoC, Metasploit, Nuclei; first seen 2014-05-13.
  • EPSS 89% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.8% of all scored CVEs.

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2014-3120 in VulnCheck (free account).

EvidenceSourceDetailDate
Honeypot sighting Shadowserver honeypots Exploitation attempts seen on 112 days 2023-11-29 to 2026-10-23
Reported exploitation cisa.gov /sites/default/files/feeds/known_exploited_vulnerabilities.json 2022-03-25
Reported exploitation greynoise.io /blog/coordinated-cloud-based-scanning-operation-targets-75-known-exposure-points 2025-05-27
Exploit reference VulnCheck XDB 3bd602f1502c Exploit type: initial-access 2014-07-07
Exploit reference VulnCheck XDB d53ab847ab08 Exploit type: initial-access 2024-10-22
Exploit reference VulnCheck XDB ca3014ea9caf Exploit type: initial-access 2026-05-31
Exploit reference VulnCheck XDB 8647a9c92f51 Exploit type: initial-access 2026-10-08

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC POC Code to exploite CVE-2014-3120 6 2014-07-07
GitHub PoC Vulhub elasticsearch/CVE-2014-3120: Elasticsearch MVEL Dynamic Script RCE (CVE-2014-3120), run with Isoloom 2026-10-08
Exploit-DB ElasticSearch Dynamic Script - Arbitrary Java Execution (Metasploit) 2014-05-30
Exploit-DB ElasticSearch - Remote Code Execution 2014-05-15
GitHub PoC Demonstration of CVE-2014-3120 2014-05-13
Metasploit ElasticSearch Dynamic Script Arbitrary Java Execution (excellent rank)
Nuclei ElasticSearch v1.1.1/1.2 RCE

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A researcher's recorded decision for this specific CVE
Finding A researcher found this CVE protected by the ARMR Process rule, ARMR Filesystem Write, ARMR Filesystem Read.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: ARMR Process rule, ARMR Filesystem Write, ARMR Filesystem Read

Unauthenticated MVEL script injection via _search. The Process rule (with /bin/* and /usr/* listed) blocks the Runtime.exec PoCs; filesystem read and write rules on the named paths block the java.io reads, appends and the Metasploit JAR drop. A script that reads data directly in Java, outside the protected paths, is not stopped.

How to mitigate CVE-2014-3120

Upgrade Elasticsearch to 1.4.0.Beta1 or later. Until you can, Waratek RASP blocks exploitation with its process and filesystem rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.1 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N NVD Primary published
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CISA-ADP Secondary
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.elasticsearch:elasticsearch 0 1.4.0.Beta1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd elastic elasticsearch generic < 1.2.0
osv org.elasticsearch elasticsearch generic < 1.4.0

References

URLTags
https://github.com/elastic/elasticsearch/issues/7151 WEB
https://github.com/elastic/elasticsearch/pull/7642 WEB
https://github.com/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06 WEB
https://github.com/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12 WEB
https://github.com/elastic/elasticsearch PACKAGE
https://web.archive.org/web/20140813071419/http://www.securityfocus.com/bid/67731 WEB
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120 WEB
https://www.elastic.co/blog/logstash-1-4-3-released WEB
https://www.elastic.co/community/security WEB
https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch WEB

Timeline

Published2014-07-28By the CVE Program.
Added to CISA KEV2022-03-25Listed in CISA's Known Exploited Vulnerabilities catalog.
VulnCheck KEV: earliest evidence2022-03-25Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.
Last VRT activity2026-09-29Most recent commit touching this CVE's classification, patch or rule file.
VulnCheck KEV: latest evidence2026-10-23Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.
Classification created2026-11-13First commit adding this CVE's research note.