CVE-2014-3120 kev in the critical feed json
Elasticsearch Improper Access Control vulnerability
published 12y ago modified 4mo ago also GHSA-mrfm-jxgf-2h6v , EUVD-2022-5879
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Exploited
- added 2022-03-25
- epss
- 88.6%
- EPSS 88.6% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 3
- Metasploit and Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
cisa required action Apply updates per vendor instructions.
- maven org.elasticsearch:elasticsearch 1.4.0.Beta1
- elastic elasticsearch 1.2.0
Is CVE-2014-3120 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-3120 updated cvss 6.8
elasticsearch: remote code execution flaw via dynamic scripting
-
Red Hat Fuse ESB Enterprise 7.1.0 Red Hat Fuse Management Console 7.1.0 Red Hat Fuse MQ Enterprise 7.1.0fixed: vendor fix RHSA-2014:1171
-
Red Hat JBoss A-MQ 6.1 Red Hat JBoss Fuse 6.1fixed: vendor fix RHSA-2014:1170
-
Red Hat Subscription Asset Manager for RHEL 6 Server katello-configure 1.4.5.1-3.el6samfixed: vendor fix RHSA-2014:1186
-
Red Hat Satellite 6 elasticsearchnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/multi/elasticsearch/script_mvel_rce)
- Published
- Added to CISA KEV
- CISA patch deadline
- CISA SSVC: exploitation active
Known exploited
- Added
- 4y ago
- Patch by
- 2022-04-15 (4y ago)
- Ransomware
- Not known
- Required action
- Apply updates per vendor instructions.
- Vendor, product
- Elastic, Elasticsearch
- CISA name
- Elasticsearch Remote Code Execution Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
88.56% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/elasticsearch/script_mvel_rce ElasticSearch Dynamic Script Arbitrary Java Execution metasploit exploit, excellent rank, 2013-12-09
- EDB-33588 ElasticSearch Dynamic Script - Arbitrary Java Execution (Metasploit) remote, 2014-05-30
- EDB-33370 ElasticSearch - Remote Code Execution webapps, 2014-05-15
- Nuclei template ElasticSearch v1.1.1/1.2 RCE nuclei detection template
- securityfocus.com http://www.securityfocus.com/bid/67731 referenced PoC, tagged "exploit" by a source, unverified
- bouk.co http://bouk.co/blog/elasticsearch-rce/ referenced PoC, tagged "exploit" by a source, unverified
- rapid7.com http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce referenced PoC, tagged "exploit" by a source, unverified
- found.no https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.elasticsearch:elasticsearch | <1.4.0.Beta1 |
1.4.0.Beta1 |
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/elastic/elasticsearch/pull/7642
web
-
github.com
/elastic/elasticsearch/commit/bd0eb32d9c3c3f5b6e5f8630c859cd04bdcd4e06
web
-
github.com
/elastic/elasticsearch/commit/f9de8b65898509e038e33215db0720b508477a12
web
-
exploit-db.com
/exploits/33370
exploit, web
-
securityfocus.com
/bid/67731
vdb-entry, exploit
-
bouk.co
/blog/elasticsearch-rce/
exploit
-
rapid7.com
/db/modules/exploit/multi/elasticsearch/script_mvel_rce
web, exploit, third-party-advisory
-
found.no
/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
web, exploit
-
elastic.co
/blog/logstash-1-4-3-released
web, vendor-advisory
-
elastic.co
/community/security/
vendor-advisory
-
osvdb.org
/106949
vdb-entry, broken-link
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2014-3120
advisory
-
github.com
/elastic/elasticsearch/issues/7151
web
-
github.com
/elastic/elasticsearch
package
-
web.archive.org
/web/20140813071419/http://www.securityfocus.com/bid/67731
web
-
elastic.co
/community/security
web
-
bouk.co
/blog/elasticsearch-rce
web
Sources
- CVE List CVE-2014-3120
- GitHub Advisory GHSA-mrfm-jxgf-2h6v
- NVD CVE-2014-3120
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.