Lucene search

K
nessusThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.DOCKER_FOR_WINDOWS_CVE-2018-15514.NASL
HistorySep 07, 2018 - 12:00 a.m.

Docker for Windows stable < 18.06.0-ce-win70 / edge < 18.06.0-ce-rc3-win68 Remote Privilege Escalation Vulnerability

2018-09-0700:00:00
This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
30

6.5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.016 Low

EPSS

Percentile

87.6%

The version of Docker for Windows installed on the remote Windows host is stable channel < 18.06.0-ce-win70 or edge channel < 18.06.0-ce-rc3-win68. It is, therefore, affected by a remote privilege escalation vulnerability.

#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(117358);
  script_version("1.4");
  script_cvs_date("Date: 2019/11/01");

  script_cve_id("CVE-2018-15514");
  script_bugtraq_id(105202);
  script_xref(name:"IAVA", value:"2018-A-0283");

  script_name(english:"Docker for Windows stable < 18.06.0-ce-win70 / edge < 18.06.0-ce-rc3-win68 Remote Privilege Escalation Vulnerability");
  script_summary(english:"Checks the Docker for Windows version.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has an application installed that is affected by
a remote privilege escalation vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of Docker for Windows installed on the remote Windows
host is stable channel < 18.06.0-ce-win70 or edge channel <
18.06.0-ce-rc3-win68. It is, therefore, affected by a remote privilege
escalation vulnerability.");
  # https://srcincite.io/blog/2018/08/31/you-cant-contain-me-analyzing-and-exploiting-an-elevation-of-privilege-in-docker-for-windows.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6032ba75");
  script_set_attribute(attribute:"see_also", value:"https://docs.docker.com/docker-for-windows/release-notes/");
  script_set_attribute(attribute:"see_also", value:"https://docs.docker.com/docker-for-windows/edge-release-notes/");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Docker for Windows stable 18.06.0-ce-win70 or edge
18.06.0-ce-rc3-win68 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-15514");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");

  script_set_attribute(attribute:"vuln_publication_date", value:"2018/08/18");
  script_set_attribute(attribute:"patch_publication_date", value:"2018/07/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2018/09/07");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:docker:docker");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("docker_for_windows_installed.nbin");
  script_require_keys("installed_sw/Docker for Windows", "SMB/Registry/Enumerated");

  exit(0);
}

include("vcf.inc");
include("vcf_extras.inc");

get_kb_item_or_exit("SMB/Registry/Enumerated");
app_info = vcf::get_app_info(app:"Docker for Windows", win_local:TRUE);

if (app_info.Channel == "stable")
  constraints = [{"min_version":"17.0", "fixed_version":"18.6.0.19075", "fixed_display":"18.06.0-ce-win70"}];
else if (app_info.Channel == "edge")
  constraints = [{"min_version":"17.0", "fixed_version":"18.6.0.18994", "fixed_display":"18.06.0-ce-rc3-win68"}];
else
  vcf::audit();

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);
VendorProductVersionCPE
dockerdockercpe:/a:docker:docker

6.5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.016 Low

EPSS

Percentile

87.6%

Related for DOCKER_FOR_WINDOWS_CVE-2018-15514.NASL