Lucene search

K
openvasCopyright (C) 2018 Greenbone AGOPENVAS:1361412562310107290
HistoryFeb 06, 2018 - 12:00 a.m.

Elastic Kibana 'CVE-2018-3821' Cross-Site Scripting (XSS) Vulnerability - Windows

2018-02-0600:00:00
Copyright (C) 2018 Greenbone AG
plugins.openvas.org
9

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

34.4%

Kibana versions after 5.1.1 and before 5.6.7 and
6.1.3 had a cross-site scripting (XSS) vulnerability.

# SPDX-FileCopyrightText: 2018 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.107290");
  script_version("2024-02-15T05:05:40+0000");
  script_cve_id("CVE-2018-3821");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"2024-02-15 05:05:40 +0000 (Thu, 15 Feb 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-03-03 19:28:00 +0000 (Fri, 03 Mar 2023)");
  script_tag(name:"creation_date", value:"2018-02-06 14:44:54 +0100 (Tue, 06 Feb 2018)");
  script_name("Elastic Kibana 'CVE-2018-3821' Cross-Site Scripting (XSS) Vulnerability - Windows");
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_dependencies("gb_elastic_kibana_detect_http.nasl", "os_detection.nasl");
  script_mandatory_keys("elastic/kibana/detected", "Host/runs_windows");

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

  script_tag(name:"summary", value:"Kibana versions after 5.1.1 and before 5.6.7 and
  6.1.3 had a cross-site scripting (XSS) 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 bug in the labs visualization.");

  script_tag(name:"impact", value:"The vulnerability could allow an attacker to obtain
  sensitive information from or perform destructive actions on behalf of other Kibana users.");

  script_tag(name:"affected", value:"Kibana versions after 5.1.1 and before 5.6.7 and 6.1.3.");

  script_tag(name:"solution", value:"Users should update to Kibana version 6.1.3 or 5.6.7.
  There are no known workarounds for this issue.");

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

  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.1.2", test_version2:"5.6.6" ) ) {
  fix  = "5.6.7";
  VULN = TRUE;
} else if( vers =~ "^6\." && version_is_less( version:vers, test_version:"6.1.3" ) ) {
  fix  = "6.1.3";
  VULN = TRUE;
}

if( VULN ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:fix );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

34.4%