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-2015-1427

The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.
Publish Date : 2015-02-17 Last Update Date : 2018-10-09
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
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 Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeBypass a restriction or similar
CWE ID 284

- Products Affected By CVE-2015-1427

# Product Type Vendor Product Version Update Edition Language
1 Application Elasticsearch Elasticsearch 1.3.7 Version Details Vulnerabilities
2 Application Elasticsearch Elasticsearch 1.4.0 Version Details Vulnerabilities
3 Application Elasticsearch Elasticsearch 1.4.0 Beta1 Version Details Vulnerabilities
4 Application Elasticsearch Elasticsearch 1.4.1 Version Details Vulnerabilities
5 Application Elasticsearch Elasticsearch 1.4.2 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Elasticsearch Elasticsearch 5

- References For CVE-2015-1427

http://www.securityfocus.com/archive/1/534689/100/0/threaded
BUGTRAQ 20150211 Elasticsearch vulnerability CVE-2015-1427
http://www.securityfocus.com/bid/72585
BID 72585 Elasticsearch Groovy Scripting Engine Sandbox Security Bypass Vulnerability Release Date:2017-04-13
https://exchange.xforce.ibmcloud.com/vulnerabilities/100850
XF elasticsearch-cve20151427-command-exec(100850)
http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html
http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html
https://access.redhat.com/errata/RHSA-2017:0868
REDHAT RHSA-2017:0868
http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/ CONFIRM
https://www.elastic.co/community/security/ CONFIRM

- Metasploit Modules Related To CVE-2015-1427

ElasticSearch Search Groovy Sandbox Bypass
This module exploits a remote command execution (RCE) vulnerability in ElasticSearch, exploitable by default on ElasticSearch prior to 1.4.3. The bug is found in the REST API, which does not require authentication, where the search function allows groovy code execution and its sandbox can be bypassed using java.lang.Math.class.forName to reference arbitrary classes. It can be used to execute arbitrary Java code. This module has been tested successfully on ElasticSearch 1.4.2 on Ubuntu Server 12.04.
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.