5 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:L/Au:N/C:N/I:P/A:N
7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
0.001 Low
EPSS
Percentile
40.4%
Elastic Logstash is prone to a
vulnerability related to malicious input.
# 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.108362");
script_version("2023-07-20T05:05:17+0000");
script_cve_id("CVE-2016-1000222");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/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:N/UI:N/S:U/C:N/I:H/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-06-17 15:48:00 +0000 (Mon, 17 Jun 2019)");
script_tag(name:"creation_date", value:"2018-03-01 14:52:35 +0100 (Thu, 01 Mar 2018)");
script_name("Elastic Logstash 'CVE-2016-1000222' Malicious Input 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 a
vulnerability related to malicious input.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"impact", value:"The CSV output can be attacked via engineered
input that will create malicious formulas in the CSV data.");
script_tag(name:"affected", value:"Elastic Logstash versions prior to
2.1.2.");
script_tag(name:"solution", value:"Users that currently use Logstash CSV output
plugin or may want to use it in the future should upgrade to 2.2.0 or 2.1.2.");
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:"2.1.2" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"2.1.2 or 2.2.0" );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );
5 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:L/Au:N/C:N/I:P/A:N
7.5 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
0.001 Low
EPSS
Percentile
40.4%