Lucene search
+L

Docker for Windows Privilege Escalation Vulnerability (Aug 2018)

🗓️ 06 Sep 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 77 Views

Docker for Windows Privilege Escalation Vulnerability. Allows 'docker-users' group to escalate to admin privileges

Related
Refs
Code
# 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:docker:docker";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.107338");
  script_version("2025-10-10T15:40:56+0000");
  script_tag(name:"last_modification", value:"2025-10-10 15:40:56 +0000 (Fri, 10 Oct 2025)");
  script_tag(name:"creation_date", value:"2018-09-06 14:43:30 +0200 (Thu, 06 Sep 2018)");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-11-09 14:23:00 +0000 (Fri, 09 Nov 2018)");

  script_cve_id("CVE-2018-15514");

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

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

  script_name("Docker for Windows Privilege Escalation Vulnerability (Aug 2018)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Privilege escalation");
  script_dependencies("gb_docker_for_windows_smb_login_detect.nasl");
  script_mandatory_keys("docker/docker_for_windows/detected", "docker/docker_for_windows/build");

  script_tag(name:"summary", value:"Docker for Windows is prone to a privilege escalation
  vulnerability.");

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

  script_tag(name:"insight", value:"HandleRequestAsync in Docker for Windows before
  18.06.0-ce-rc3-win68 (edge) and before 18.06.0-ce-win72 (stable) deserialized requests over the
  '\\.\pipe\dockerBackend' named pipe without verifying the validity of the deserialized .NET
  objects. This would allow a malicious user in the 'docker-users' group (who may not otherwise
  have administrator access) to escalate to administrator privileges.");

  script_tag(name:"affected", value:"Docker for Windows before 18.06.0-ce-rc3-win68 (edge) and
  before 18.06.0-ce-win72 (stable).");

  script_tag(name:"solution", value:"Update to version 18.06.0-ce-rc3-win68 (edge) respectively
  18.06.0-ce-win72 (stable) or later.");

  script_xref(name:"URL", value:"https://srcincite.io/blog/2018/08/31/you-cant-contain-me-analyzing-and-exploiting-an-elevation-of-privilege-in-docker-for-windows.html");

  exit(0);
}

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

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

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

build = get_kb_item( "docker/docker_for_windows/build" );

# "Stable" Version Example: 18.06.0-ce-win72
if( build =~ "stable" ) {

  if( version_is_less( version:vers, test_version:"18.06.0-ce-win72" ) ) {
    report = report_fixed_ver( installed_version:vers, fixed_version:"18.06.0-ce-win72", install_path:path );
    security_message( port:0, data:report );
    exit( 0 );
  }
}

# "Edge" Version Example: 18.06.0-ce-rc3-win68
if( build =~ "edge" ) {
  if( version_is_less( version:vers, test_version:"18.06.0-ce-rc3-win68" ) ) {
    report = report_fixed_ver( installed_version:vers, fixed_version:"18.06.0-ce-rc3-win68", install_path:path );
    security_message( port:0, data:report );
    exit( 0 );
  }
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Oct 2025 00:00Current
8.9High risk
Vulners AI Score8.9
CVSS 26.5
CVSS 38.8
EPSS0.02467
77