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.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
0.001 Low
EPSS
Percentile
32.7%
Elastic Kibana is prone to 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.107282");
script_version("2024-02-15T05:05:40+0000");
script_cve_id("CVE-2018-3818");
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.0/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:"2020-08-14 17:30:00 +0000 (Fri, 14 Aug 2020)");
script_tag(name:"creation_date", value:"2018-02-02 11:08:33 +0100 (Fri, 02 Feb 2018)");
script_name("Elastic Kibana 'CVE-2018-3818' Cross-Site Scripting (XSS) Vulnerability - Linux");
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_unixoide");
script_xref(name:"URL", value:"https://www.elastic.co/community/security");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/102734");
script_tag(name:"summary", value:"Elastic Kibana is prone to 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:"Kibana is prone to a cross-site scripting
vulnerability because it fails to sanitize user-supplied input.");
script_tag(name:"impact", value:"An attacker may leverage this issue to execute
arbitrary script code in the browser of an unsuspecting user in the context of
the affected site. This may allow the attacker to steal cookie-based authentication
credentials and launch other attacks.");
script_tag(name:"affected", value:"Elastic Kibana Versions between 5.1.1 and 5.6.5 and
6.x prior to 6.1.2.");
script_tag(name:"solution", value:"Update to Elastic Kibana version 5.6.6 / 6.1.2,
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.1.1", test_version2:"5.6.5" ) ) {
fix = "5.6.6";
VULN = TRUE;
} else if( vers =~ "^6\." && version_is_less( version:vers, test_version:"6.1.2" ) ) {
fix = "6.1.2";
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.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
0.001 Low
EPSS
Percentile
32.7%