Lucene search

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

Elastic Logstash 'CVE-2015-5619' Man in the Middle Security Bypass Vulnerability

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

0.002 Low

EPSS

Percentile

61.7%

Elastic Logstash is prone to security-bypass 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.107281");
  script_version("2023-07-20T05:05:17+0000");
  script_cve_id("CVE-2015-5619");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/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:H/PR:N/UI:N/S:U/C:H/I:N/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-02-01 11:50:39 +0100 (Thu, 01 Feb 2018)");
  script_name("Elastic Logstash 'CVE-2015-5619' Man in the Middle Security Bypass Vulnerability");

  script_tag(name:"summary", value:"Elastic Logstash is prone to security-bypass vulnerability.");

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

  script_tag(name:"impact", value:"Successfully exploiting this issue may allow attackers to perform
  unauthorized actions by conducting a man-in-the-middle attack. This may lead to other attacks.");

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

  # 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:"affected", value:"Elastic Logstash version prior to
  1.5.4 or 1.4.5.");

  script_tag(name:"solution", value:"Users should update to 1.5.4 or 1.4.5. Users that do not want
  to upgrade can address the vulnerability by disabling the Lumberjack output.");

  script_xref(name:"URL", value:"https://www.elastic.co/community/security/");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/76455");

  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");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if(isnull(port = get_app_port(cpe:CPE))){
  exit(0);
}

if(!version = get_app_version(cpe:CPE, port:port)){
  exit(0);
}

if(version =~ "^1\.4\."){
  if(version_is_less(version:version, test_version:"1.4.5")){
    report = report_fixed_ver(installed_version:version, fixed_version:"1.4.5");
  }
}

if(version =~ "^1\.5\."){
  if(version_is_less(version:version, test_version:"1.5.4")){
    report = report_fixed_ver(installed_version:version, fixed_version:"1.5.4");
  }
}

if (report != "") {
  security_message(data:report, port:port);
  exit(0);
}

exit(99);

0.002 Low

EPSS

Percentile

61.7%

Related for OPENVAS:1361412562310107281