cbcvebase.
CVE-2019-15752
published 2019-08-28

CVE-2019-15752: Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-credential-wincred.exe file in…

PriorityP180high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2022-05-03
Exploited in the wild
EPSS
29.63%
98.0th percentile
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-credential-wincred.exe file in %PROGRAMDATA%\DockerDesktop\version-bin\ as a low-privilege user, and then waiting for an admin or service user to authenticate with Docker, restart Docker, or run 'docker login' to force the command.

Affected

3 ranges
VendorProductVersion rangeFixed in
apachegeode
debiandocker.io
dockerdocker< 2.1.0.12.1.0.1

Detection & IOCsextracted from sources · hover to see the quote

filenamedocker-credential-wincred.exe
path%PROGRAMDATA%\DockerDesktop\version-bin\
path%PROGRAMDATA%\DockerDesktop\version-bin\docker-credential-wincred.exe
commanddocker login
  • Monitor for file creation events targeting %PROGRAMDATA%\DockerDesktop\version-bin\docker-credential-wincred.exe by non-administrative (low-privilege) users, which is the core exploitation primitive for this CVE.
  • Alert on any process spawned from %PROGRAMDATA%\DockerDesktop\version-bin\docker-credential-wincred.exe that was not written by a privileged account, especially if the parent process is a Docker service or admin session.
  • Flag Metasploit exploit module activity targeting this path: modules/exploits/windows/local/docker_credential_wincred.rb — presence of this module in use indicates active exploitation attempts.
  • Check Docker version via 'docker -v'; versions at or below 18.09.0 (Docker Desktop Community Edition before 2.1.0.1) are flagged as vulnerable by the Metasploit check method.
  • ·The Metasploit module will abort exploitation if UAC is set to 'Always Notify' (UAC_PROMPT_CREDS_IF_SECURE_DESKTOP or UAC_PROMPT_CONSENT_IF_SECURE_DESKTOP), meaning this attack vector is blocked in high-UAC environments.
  • ·The exploit requires an existing low-privilege Meterpreter session (SessionTypes: meterpreter) and relies on a privileged user subsequently running 'docker login', restarting Docker, or authenticating — making it a time-delayed, user-interaction-dependent privilege escalation.
  • ·The PROGRAMDATA option defaults to '%PROGRAMDATA%' and must resolve to the correct Docker version-bin path; if the directory does not exist, the module fails with 'Vulnerable Docker path is not on system'.

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.09.3CRITICALAV:N/AC:M/Au:N/C:C/I:C/A:C
vulncheck7.8HIGH
cisa7.8HIGH
vendor_debian7.8LOW
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.