cve.bz

CVE-2014-3120 Elasticsearch Remote Code Execution Vulnerability

8.1 highKEVExploitEPSS 89%Fix available

High (8.1) in Elastic Elasticsearch. In CISA KEV since 2022-03-25. EPSS 89% estimated probability of exploitation activity in the next 30 days. Fixed in org.elasticsearch:elasticsearch 1.4.0.Beta1.

On this page
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

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
EPSS
89% (unchanged from 89% a week ago; 89% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-03-25, due 2022-04-15
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: partial, assessed 2025-02-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2014-3120 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-3120?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-3120?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-3120 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
elastic:elasticsearchbefore 1.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mrfm-jxgf-2h6vMavenorg.elasticsearch:elasticsearch<1.4.0.Beta11.4.0.Beta1

Red Hat

Red Hat rates this Important.

Red Hat's statement

On Subscription Asset Manager (SAM) 1, the elasticsearch service is only bound to the loopback interface by default. To exploit this issue on a SAM 1 system, an attacker must have local access to the system. On Red Hat JBoss Fuse and Red Hat JBoss A-MQ, the elasticsearch service is only started if the insight-elasticsearch feature is installed. This feature is not installed by default.

ProductPackageStateAdvisory
Fuse ESB Enterprise 7.1.0Fixed 2014-09-10RHSA-2014:1171
Fuse Management Console 7.1.0Fixed 2014-09-10RHSA-2014:1171
Fuse MQ Enterprise 7.1.0Fixed 2014-09-10RHSA-2014:1171
Red Hat JBoss A-MQ 6.1Fixed 2014-09-10RHSA-2014:1170
Red Hat JBoss Fuse 6.1Fixed 2014-09-10RHSA-2014:1170
Red Hat Subscription Asset Manager 1.4katello-configure-0:1.4.5.1-3.el6samFixed 2014-09-11RHSA-2014:1186
Red Hat Satellite 6elasticsearchNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-3120.

Public exploits

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template ElasticSearch v1.1.1/1.2 RCE
  • Emerging Threats Open ET WEB_SERVER Possible CVE-2014-3120 Elastic Search Remote Code Execution Attempt sid 2018495

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON