CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2014-3120 (1 public exploit)

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.
Publish Date : 2014-07-28 Last Update Date : 2016-12-06
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 284

- Products Affected By CVE-2014-3120

# Product Type Vendor Product Version Update Edition Language
1 Application Elasticsearch Elasticsearch 1.1.1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Elasticsearch Elasticsearch 1

- References For CVE-2014-3120

https://www.found.no/foundation/elasticsearch-security/#staying-safe-while-developing-with-elasticsearch
https://www.elastic.co/community/security/ CONFIRM
https://www.elastic.co/blog/logstash-1-4-3-released CONFIRM
http://www.securityfocus.com/bid/67731
BID 67731 Elasticsearch CVE-2014-3120 Arbitrary Java Code Execution Vulnerability Release Date:2014-09-15
http://bouk.co/blog/elasticsearch-rce/
Exploit! http://www.exploit-db.com/exploits/33370
EXPLOIT-DB 33370 ElasticSearch Remote Code Execution Author:Jeff Geiger Release Date:2014-05-15 (multiple) webapps
http://www.rapid7.com/db/modules/exploit/multi/elasticsearch/script_mvel_rce

- Metasploit Modules Related To CVE-2014-3120

ElasticSearch Dynamic Script Arbitrary Java Execution
This module exploits a remote command execution (RCE) vulnerability in ElasticSearch, exploitable by default on ElasticSearch prior to 1.2.0. The bug is found in the REST API, which does not require authentication, where the search function allows dynamic scripts execution. It can be used for remote attackers to execute arbitrary Java code. This module has been tested successfully on ElasticSearch 1.1.1 on Ubuntu Server 12.04 and Windows XP SP3.
Module type : exploit Rank : excellent Platforms : Java


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.