Docker Daemon Exposure Scanner
This scanner checks if the Docker Daemon REST API is accessible without authentication, allowing attackers to execute arbitrary commands on containers and the host.
Short Info
Level
Single Scan
Single Scan
Can be used by
Asset Owner
Estimated Time
10 seconds
Time Interval
17 days 21 hours
Scan only one
Domain, IPv4, Subdomain
Toolbox
The Docker Daemon is a core component used in Docker for running and managing containers. It is widely employed by DevOps teams and software developers for rapid application deployment and continuous integration/continuous deployment processes. It provides an interface over REST for managing Docker objects such as containers, images, and networks. Due to its capabilities, the Docker Daemon is primarily used in cloud and server environments, supporting scalable and efficient management of containerized applications. However, incorrect configurations can lead to security vulnerabilities, making it crucial for users to secure the Docker Daemon to prevent unauthorized access.
The exposure concerning the Docker Daemon arises when its management API is accessible over the network without proper authentication or encryption. This exposure can inadvertently provide attackers with unauthorized control over Docker containers and, subsequently, the host machine. The vulnerability is significant as it can lead to unauthorized actions such as data extraction, malicious deployment of containers, or even host system compromise. Proper security measures should be in place to mitigate these risks and ensure the integrity of the containerized environment.
This scanner specifically targets the Docker Daemon's REST API endpoint, typically exposed on TCP port 2375 (unencrypted) or 2376 (encrypted). It sends a request to the /version or /containers/json endpoint to verify if the daemon responds without requiring authentication. If the API responds with container information or version details, the exposure is confirmed, indicating that the daemon is accessible to anyone on the network.
If exploited, an attacker can gain full control over the Docker Daemon, allowing them to create, start, stop, or delete containers, access sensitive data within containers, and potentially escape to the host system. This can lead to data breaches, service disruption, and complete compromise of the host infrastructure. The high CVSS score of 9.0 reflects the critical nature of this vulnerability, emphasizing the need for immediate remediation.