CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:S/C:P/I:N/A:N
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AI Score
Confidence
High
EPSS
Percentile
26.2%
Elastic Logstash is prone to an
information disclosure 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:logstash";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.108359");
script_version("2023-07-20T05:05:17+0000");
script_cve_id("CVE-2016-10362");
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:"last_modification", value:"2023-07-20 05:05:17 +0000 (Thu, 20 Jul 2023)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-10-09 23:16:00 +0000 (Wed, 09 Oct 2019)");
script_tag(name:"creation_date", value:"2018-03-01 14:52:35 +0100 (Thu, 01 Mar 2018)");
script_name("Elastic Logstash 'CVE-2016-10362' Information Disclosure Vulnerability");
script_copyright("Copyright (C) 2018 Greenbone AG");
script_category(ACT_GATHER_INFO);
script_family("General");
script_dependencies("gb_elastic_elasticsearch_detect_http.nasl");
script_mandatory_keys("elastic/logstash/detected");
script_tag(name:"summary", value:"Elastic Logstash is prone to an
information disclosure vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"impact", value:"Elasticsearch Output plugin when updating
connections after sniffing, would log to file HTTP basic auth credentials.");
script_tag(name:"affected", value:"Elastic Logstash versions prior to
5.0.1.");
script_tag(name:"solution", value:"Users who secure communication from Logstash
to Elasticsearch via Basic Authorization using Elastic Shield or other systems
are advised to update to version 5.0.1 or later.");
script_xref(name:"URL", value:"https://www.elastic.co/community/security/");
# The Logstash version might differ from the Elasticsearch version detected
# by gb_elastic_elasticsearch_detect_http.nasl
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( isnull( port = get_app_port( cpe:CPE ) ) ) exit( 0 );
if( ! vers = get_app_version( cpe:CPE, port:port ) ) exit( 0 );
if( version_is_less( version:vers, test_version:"5.0.1" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"5.0.1" );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
NONE
Availability Impact
NONE
AV:N/AC:L/Au:S/C:P/I:N/A:N
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AI Score
Confidence
High
EPSS
Percentile
26.2%