Lucene search
+L

Elastic Kibana 8.7.0 Arbitrary Code Execution Vulnerability (ESA-2023-08)

🗓️ 04 May 2023 00:00:00Reported by Copyright (C) 2023 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 25 Views

Elastic Kibana 8.7.0 Arbitrary Code Execution Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2023-31415
5 May 202300:37
circl
cnnvd
CNNVD
Elastic Kibana 代码注入漏洞
4 May 202300:00
cnnvd
cve
CVE
CVE-2023-31415
4 May 202300:00
cve
cvelist
Cvelist
CVE-2023-31415
4 May 202300:00
cvelist
elastic
Elastic
Kibana 8.7.1 Security Updates (ESA-2023-07, ESA-2023-08)
2 May 202316:08
elastic
euvd
EUVD
EUVD-2023-35726
3 Oct 202520:07
euvd
nessus
Tenable Nessus
Elastic Kibana < 8.7.1 Arbitrary Code Execution
12 May 202300:00
nessus
nessus
Tenable Nessus
Kibana 8.x < 8.7.1 Multiples Vulnerabilities
11 Mar 202500:00
nessus
ncsc
NCSC
Vulnerabilities fixed in Elastic products
3 May 202300:00
ncsc
nvd
NVD
CVE-2023-31415
4 May 202321:15
nvd
Rows per page
# SPDX-FileCopyrightText: 2023 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:kibana";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.149632");
  script_version("2025-09-03T14:11:39+0000");
  script_tag(name:"last_modification", value:"2025-09-03 14:11:39 +0000 (Wed, 03 Sep 2025)");
  script_tag(name:"creation_date", value:"2023-05-04 04:53:44 +0000 (Thu, 04 May 2023)");
  script_tag(name:"cvss_base", value:"9.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/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:"2023-05-11 13:38:00 +0000 (Thu, 11 May 2023)");

  script_cve_id("CVE-2023-31415");

  script_tag(name:"qod_type", value:"remote_banner");

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

  script_name("Elastic Kibana 8.7.0 Arbitrary Code Execution Vulnerability (ESA-2023-08)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_elastic_kibana_http_detect.nasl");
  script_mandatory_keys("elastic/kibana/detected");

  script_tag(name:"summary", value:"Kibana is prone to an arbitrary code execution vulnerability.");

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

  script_tag(name:"insight", value:"An attacker with All privileges to the Uptime/Synthetics
  feature could send a request that will attempt to execute JavaScript code. This could lead to the
  attacker executing arbitrary commands on the host system with permissions of the Kibana process.

  Note:

  - This issue affects Kibana instances running on Elastic Cloud but the code execution is limited
  within the Kibana Docker container. Further exploitation such as container escape is prevented by
  seccomp-bpf and AppArmor profiles.

  - This issue affects Kibana instances running on Elastic Cloud Enterprise (ECE) but the code
  execution is limited within the Kibana Docker container. Further exploitation such as container
  escape is prevented by seccomp-bpf and AppArmor profiles.

  - This issue affects Kibana instances running on Elastic Cloud on Kubernetes (ECK) but the code
  execution is limited within the Kibana Docker container. Further exploitation such as container
  escape can be prevented by seccomp-bpf when configured and supported (Kubernetes v1.19 and
  later).");

  script_tag(name:"affected", value:"Kibana version 8.7.0.");

  script_tag(name:"solution", value:"Update to version 8.7.1 or later.");

  script_xref(name:"URL", value:"https://discuss.elastic.co/t/kibana-8-7-1-security-updates/332330");

  exit(0);
}

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

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

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_is_equal(version: version, test_version: "8.7.0")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "8.7.1", install_path: location);
  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 3.18.8 - 9.9
EPSS0.00957
SSVC
25