🔍 CVE-2025-14740

6.7
CVSS Score
MEDIUM
2026-02-04
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Windows용 Docker Desktop 설치 프로그램에서 C:\ProgramData\DockerDesktop 디렉토리의 권한 설정 오류로 인해 낮은 권한의 공격자도 설치 전후에 악성 구성 파일을 주입하여 임의 코드 실행이 가능합니다. 설치 중 권한 확인과 ACL 적용 사이의 TOCTOU 경쟁 조건을 악용한 공격도 가능합니다.

💡 쉬운 설명

Windows의 Docker를 설치할 때 폴더 권한이 제대로 보호되지 않아서, 낮은 권한의 사용자도 악성 파일을 넣어서 임의의 코드를 실행시킬 수 있다는 문제입니다. 설치 중에 공격하거나 설치 전에 폴더를 미리 만들어서 악용할 수 있습니다.

🇺🇸 원문 (English)

Docker Desktop for Windows contains multiple incorrect permission assignment vulnerabilities in the installer's handling of the C:\ProgramData\DockerDesktop directory. The installer creates this directory without proper ownership verification, creating two exploitation scenarios: Scenario 1 (Persistent Attack): If a low-privileged attacker pre-creates C:\ProgramData\DockerDesktop before Docker Desktop installation, the attacker retains ownership of the directory even after the installer applies restrictive ACLs. At any time after installation completes, the attacker can modify the directory ACL (as the owner) and tamper with critical configuration files such as install-settings.json to specify a malicious credentialHelper, causing arbitrary code execution when any user runs Docker Desktop. Scenario 2 (TOCTOU Attack): During installation, there is a time-of-check-time-of-use (TOCTOU) race condition between when the installer creates C:\ProgramData\DockerDesktop and when it sets secure ACLs. A low-privileged attacker actively monitoring for the installation can inject malicious files (such as install-settings.json) with attacker-controlled ACLs during this window, achieving the same code execution outcome.

📍 영향받는 시스템

Windows용 Docker Desktop (취약 버전 범위 미공개, 최근 버전까지 영향)

⚔️ 공격 벡터

로컬 접근: C:\ProgramData\DockerDesktop 디렉토리 사전 생성 또는 설치 중 파일 주입 (credentialHelper 변조)

🛡️ 대응 방법

Docker Desktop을 최신 보안 패치 버전으로 업그레이드하고 C:\ProgramData\DockerDesktop의 ACL 권한 확인

🔧 검증 코드

출력된 버전을 확인하여 취약 버전이면 업그레이드 필요, 최신 버전이면 패치됨

Shell / Script
docker --version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Docker