Lucene search

K
openvasCopyright (C) 2019 Greenbone Networks GmbHOPENVAS:1361412562310112543
HistoryMar 27, 2019 - 12:00 a.m.

Elastic Kibana < 5.6.15, 6.x.x < 6.6.1 Multiple Vulnerabilities - Linux

2019-03-2700:00:00
Copyright (C) 2019 Greenbone Networks GmbH
plugins.openvas.org
171
elastic kibana
multiple vulnerabilities
linux
cross-site scripting
arbitrary code execution
security audit logger
cve-2019-7608
cve-2019-7609
cve-2019-7610

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

AI Score

8.3

Confidence

Low

EPSS

0.971

Percentile

99.8%

Kibana is prone to multiple vulnerabilities.

# Copyright (C) 2019 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.

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.112543");
  script_version("2022-08-09T10:11:17+0000");
  script_tag(name:"last_modification", value:"2022-08-09 10:11:17 +0000 (Tue, 09 Aug 2022)");
  script_tag(name:"creation_date", value:"2019-03-27 11:58:11 +0100 (Wed, 27 Mar 2019)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-10-19 18:09:00 +0000 (Mon, 19 Oct 2020)");

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

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

  script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
  script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
  script_cve_id("CVE-2019-7608", "CVE-2019-7609", "CVE-2019-7610");

  script_name("Elastic Kibana < 5.6.15, 6.x.x < 6.6.1 Multiple Vulnerabilities - Linux");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_elastic_kibana_detect_http.nasl", "os_detection.nasl");
  script_mandatory_keys("elastic/kibana/detected", "Host/runs_unixoide");

  script_tag(name:"summary", value:"Kibana is prone to multiple vulnerabilities.");

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

  script_tag(name:"insight", value:"The following vulnerabilities exist:

  - A cross-site scripting (XSS) vulnerability (CVE-2019-7608).

  - An arbitrary code execution flaw in the Timelion visualizer (CVE-2019-7609).

  - An arbitrary code execution flaw in the security audit logger (CVE-2019-7610).

  On May 07, 2021 the NCSC, CISA, FBI and NSA publish advice on detection and mitigation of SVR
  activity following the attribution of the SolarWinds compromise. This VT is covering one or more
  vulnerabilities mentioned in that report.");

  script_tag(name:"impact", value:"Successful exploitation would allow an attacker to obtain
  sensitive information from or perform destructive actions on behalf of other Kibana users.

  Furthermore an attacker with access to the Timelion application could send a request that will
  attempt to execute javascript code. This could possibly lead to an attacker executing arbitrary
  commands with permissions of the Kibana process on the host system.

  Additionally if a Kibana instance has the setting xpack.security.audit.enabled set to true, an
  attacker could send a request that will attempt to execute javascript code. This could possibly
  lead to an attacker executing arbitrary commands with permissions of the Kibana process on the
  host system.");

  script_tag(name:"affected", value:"Kibana versions before 5.6.15 and 6.0.0 before 6.6.1.");

  script_tag(name:"solution", value:"Update to version 5.6.15 or 6.6.1 respectively.");

  script_xref(name:"URL", value:"https://discuss.elastic.co/t/elastic-stack-6-6-1-and-5-6-15-security-update/169077");
  script_xref(name:"URL", value:"https://www.elastic.co/community/security");
  script_xref(name:"URL", value:"https://www.ncsc.gov.uk/news/joint-advisory-further-ttps-associated-with-svr-cyber-actors");

  exit(0);
}

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

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"];
path = infos["location"];

if( version_is_less( version: version, test_version: "5.6.15" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "5.6.15", install_path: path );
  security_message( data: report, port: port );
  exit( 0 );
}

if( version_in_range( version: version, test_version: "6.0.0", test_version2: "6.6.0" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "6.6.1", install_path: path );
  security_message( data: report, port: port );
  exit( 0 );
}

exit( 99 );

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS3

10

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

AI Score

8.3

Confidence

Low

EPSS

0.971

Percentile

99.8%