Lucene search

K

Elastic Kibana Path Traversal Vulnerability (ESA-2021-22)

🗓️ 27 Sep 2021 00:00:00Reported by Copyright (C) 2021 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 14 Views

Elastic Kibana Path Traversal Vulnerability (ESA-2021-22) discovere

Show more
Related
Refs
Code
ReporterTitlePublishedViews
Family
Cvelist
CVE-2021-22151 Kibana path traversal issue
22 Nov 202300:36
cvelist
Prion
Design/Logic Flaw
22 Nov 202301:15
prion
NVD
CVE-2021-22151
22 Nov 202301:15
nvd
Vulnrichment
CVE-2021-22151 Kibana path traversal issue
22 Nov 202300:36
vulnrichment
OSV
CVE-2021-22151
22 Nov 202301:15
osv
CVE
CVE-2021-22151
22 Nov 202301:15
cve
Hacker One
Elastic: Fix for CVE-2021-22151 (Kibana path traversal issue) can be bypassed on Windows
28 Sep 202112:50
hackerone
Tenable Nessus
Kibana 7.14.0 HTML Injection
11 Jan 202300:00
nessus
Tenable Nessus
Kibana 7.10.2 < 7.14.1 Code Execution
11 Jan 202300:00
nessus
Tenable Nessus
Kibana 7.9.0 < 7.14.1 Path Traversal
11 Jan 202300:00
nessus
Rows per page
# Copyright (C) 2021 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

CPE = "cpe:/a:elastic:kibana";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.117699");
  script_version("2023-12-01T16:11:30+0000");
  script_tag(name:"last_modification", value:"2023-12-01 16:11:30 +0000 (Fri, 01 Dec 2023)");
  script_tag(name:"creation_date", value:"2021-09-27 11:31:59 +0000 (Mon, 27 Sep 2021)");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-11-30 18:14:00 +0000 (Thu, 30 Nov 2023)");

  script_cve_id("CVE-2021-22151");

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

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

  script_name("Elastic Kibana Path Traversal Vulnerability (ESA-2021-22)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2021 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_elastic_kibana_detect_http.nasl");
  script_mandatory_keys("elastic/kibana/detected");

  script_tag(name:"summary", value:"Elastic Kibana is prone to a path traversal vulnerability.");

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

  script_tag(name:"insight", value:"It was discovered that Kibana was not validating a user supplied
  path, which would load .pbf files. Because of this, a malicious user could arbitrarily traverse
  the Kibana host to load internal files ending in the .pbf extension.");

  script_tag(name:"affected", value:"Elastic Kibana version 7.9.0 through 7.14.0.");

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

  script_xref(name:"URL", value:"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077");

  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_in_range(version: version, test_version: "7.9.0", test_version2: "7.14.0")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "7.14.1", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
27 Sep 2021 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS33.1 - 4.3
EPSS0.001
SSVC
14
.json
Report