Lucene search

K
openvasCopyright (C) 2020 Greenbone AGOPENVAS:1361412562310144378
HistoryAug 10, 2020 - 12:00 a.m.

etcd < 3.3.23, 3.4.x < 3.4.10 Multiple Vulnerabilities

2020-08-1000:00:00
Copyright (C) 2020 Greenbone AG
plugins.openvas.org
1

7.7 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

7.3 High

AI Score

Confidence

High

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.002 Low

EPSS

Percentile

54.6%

etcd is prone to multiple vulnerabilities.

# SPDX-FileCopyrightText: 2020 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-or-later

CPE = "cpe:/a:etcd:etcd";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.144378");
  script_version("2023-10-20T16:09:12+0000");
  script_tag(name:"last_modification", value:"2023-10-20 16:09:12 +0000 (Fri, 20 Oct 2023)");
  script_tag(name:"creation_date", value:"2020-08-10 06:18:11 +0000 (Mon, 10 Aug 2020)");
  script_tag(name:"cvss_base", value:"5.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2021-01-04 03:15:00 +0000 (Mon, 04 Jan 2021)");

  script_cve_id("CVE-2020-15106", "CVE-2020-15112", "CVE-2020-15113", "CVE-2020-15114",
                "CVE-2020-15115", "CVE-2020-15136");

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

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

  script_name("etcd < 3.3.23, 3.4.x < 3.4.10 Multiple Vulnerabilities");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2020 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_etcd_http_detect.nasl");
  script_mandatory_keys("etcd/detected");

  script_tag(name:"summary", value:"etcd is prone to multiple vulnerabilities.");

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

  script_tag(name:"insight", value:"The following vulnerabilities exist:

  - CVE-2020-15106: A large slice causes panic in decodeRecord method

  - CVE-2020-15112: An entry with large index causes panic in WAL ReadAll method

  - CVE-2020-15113: Directories created via os.MkdirAll are not checked for permissions

  - CVE-2020-15114: Gateway can include itself as an endpoint resulting in resource exhaustion

  - CVE-2020-15115: No minimum password length

  - CVE-2020-15136: Gateway TLS authentication only applies to endpoints detected in DNS SRV
  records");

  script_tag(name:"affected", value:"etcd prior to version 3.3.23 and 3.4.x prior to 3.4.10.");

  script_tag(name:"solution", value:"Update to version 3.3.23, 3.4.10 or later.");

  script_xref(name:"URL", value:"https://github.com/etcd-io/etcd/security/advisories/GHSA-p4g4-wgrh-qrg2");
  script_xref(name:"URL", value:"https://github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93");
  script_xref(name:"URL", value:"https://github.com/etcd-io/etcd/security/advisories/GHSA-chh6-ppwq-jh92");
  script_xref(name:"URL", value:"https://github.com/etcd-io/etcd/security/advisories/GHSA-2xhq-gv6c-p224");
  script_xref(name:"URL", value:"https://github.com/etcd-io/etcd/security/advisories/GHSA-4993-m7g5-r9hh");
  script_xref(name:"URL", value:"https://github.com/etcd-io/etcd/security/advisories/GHSA-wr2v-9rpq-c35q");

  exit(0);
}

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

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_is_less(version: version, test_version: "3.3.23")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "3.3.23", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

if (version_in_range(version: version, test_version: "3.4", test_version2: "3.4.9")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "3.4.10", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

7.7 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

7.3 High

AI Score

Confidence

High

5.8 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.002 Low

EPSS

Percentile

54.6%