CVE-2014-3120
HIGH 8.1CVSS 3.1known exploitedElasticsearch Improper Access Control vulnerability
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.
- Published
- 28 Jul 2014
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- GHSA-mrfm-jxgf-2h6v
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-mrfm-jxgf-2h6vJSON
In CISA's Known Exploited Vulnerabilities catalog since 25 Mar 2022; US federal agencies must fix it by 15 Apr 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elastic | elasticsearchcpe:2.3:a:elastic:elasticsearch:*:*:*:*:*:*:*:* |
< 1.2.0 | 1.2.0 |
| OSV | Maven | org.elasticsearch:elasticsearch | < 1.4.0.Beta1 | 1.4.0.Beta1 |
References
- http://bouk.co/blog/elasticsearch-rce/ · Exploit, WEB
- http://www.exploit-db.com/exploits/33370 · Exploit, WEB
- http://www.osvdb.org/106949 · Broken Link
- http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce · Exploit, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/67731 · Exploit
- https://www.elastic.co/blog/logstash-1-4-3-released · Vendor Advisory, WEB
- https://www.elastic.co/community/security/ · Vendor Advisory, WEB
- https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch · Exploit, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-3120 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-3120 · ADVISORY
- 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
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 28 Jul 2014)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 25 Mar 2022)
- 25 Mar 2022 00:00 UTC · Listed as known exploited