Exploit database

Vulnerability

CVE-2015-1427

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

CVE Program

Exploit source choices

7 sources
ElasticSearch Search Groovy Sandbox Bypass
MSF-multi--elasticsearch--search_groovy_scriptMetasploitJava / remote

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.

2015-02-11search_groovy_script.rb
amcai/myscan
GH-39719203e5f7c2aff5857e692e11a223GitHubUnofficial GitHub source

myscan 被动扫描

2020-03-16458 files · 663 stars
4ra1n/poc-runner
GH-1f4553122794a70770b1a65fb8e73f35GitHubUnofficial GitHub source

Small & Fast Vulnerability Scanner Engine based on XRAY YAML Rule | 基于 XRAY YAML 规则的超轻量快速漏洞扫描引擎 | 基于 ANTLR 实现语法分析和完整的 XRAY YAML 规则实现 | 简单的启动参数 | 包含多种反连可用 | 可执行文件体积仅 2 MB

2024-08-26161 files · 178 stars
t0kx/exploit-cve-2015-1427
GH-c410f531ec9982e0bc48bb1539d50a61GitHubUnofficial GitHub source

Elasticsearch 1.4.0 < 1.4.2 Remote Code Execution exploit and vulnerable container

2017-01-095 files · 32 stars
0nexo0r/exploits
GH-63c14319ba7b95fca6c58846795bb1afGitHubUnofficial GitHub source

Miscellaneous proof of concept exploit code written at Xiphos Research for testing purposes.

2017-10-0873 files · 3 stars