Lucene search
+L

Elastic Kibana X-Pack 'CVE-2017-8438' Privilege Escalation Vulnerability - Linux

🗓️ 23 Oct 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 23 Views

Elastic Kibana X-Pack 'CVE-2017-8438' Privilege Escalation Vulnerability - Linu

Related
Refs
Code
ReporterTitlePublishedViews
Family
CNVD
ElasticSearch X-Pack Security Elevation of Privilege Vulnerability
7 Jun 201700:00
cnvd
CVE
CVE-2017-8438
5 Jun 201714:00
cve
Cvelist
CVE-2017-8438
5 Jun 201714:00
cvelist
Elastic
Elastic Stack 5.4.1 and 5.3.3 Security updates
1 Jun 201716:29
elastic
Tenable Nessus
Elasticsearch ESA-2017-06
22 Aug 201800:00
nessus
EUVD
EUVD-2017-17389
7 Oct 202500:30
euvd
NVD
CVE-2017-8438
5 Jun 201714:29
nvd
OpenVAS
Elastic Kibana X-Pack 'CVE-2017-8438' Privilege Escalation Vulnerability - Windows
23 Oct 201700:00
openvas
OSV
CVE-2017-8438
5 Jun 201714:29
osv
Prion
Design/Logic Flaw
5 Jun 201714:29
prion
Rows per page
# SPDX-FileCopyrightText: 2017 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:x-pack";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.108261");
  script_version("2025-09-03T14:11:39+0000");
  script_cve_id("CVE-2017-8438");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2025-09-03 14:11:39 +0000 (Wed, 03 Sep 2025)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-10-09 23:30:00 +0000 (Wed, 09 Oct 2019)");
  script_tag(name:"creation_date", value:"2017-10-23 10:54:29 +0200 (Mon, 23 Oct 2017)");
  script_name("Elastic Kibana X-Pack 'CVE-2017-8438' Privilege Escalation Vulnerability - Linux");
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_dependencies("gb_elastic_kibana_http_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("elastic/kibana/x-pack/detected", "Host/runs_unixoide");

  script_xref(name:"URL", value:"https://www.elastic.co/community/security");

  script_tag(name:"summary", value:"Elastic Kibana with X-Pack is prone to a privilege escalation vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The Flaw is due to a privilege escalation bug in the run_as functionality.
  This bug prevents transitioning into the specified user specified in a run_as request. If a role has been
  created using a template that contains the _user properties, the behavior of run_as will be incorrect.
  Additionally if the run_as user specified does not exist, the transition will not happen.");

  script_tag(name:"affected", value:"Elastic Kibana X-Pack versions 5.0.0 to 5.4.0.");

  script_tag(name:"solution", value:"Update to Elastic Kibana X-Pack version 5.4.1 or later.");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! vers = get_app_version( cpe:CPE, port:port ) ) exit( 0 );

if( version_in_range( version:vers, test_version:"5.0.0", test_version2:"5.4.0" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"5.4.1" );
  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