vulnerability

Docker Daemon - Remote execution via unprotected TCP socket

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
Jul 25, 2017
Added
Feb 3, 2021
Modified
Feb 18, 2025

Description

Utilizing Docker via an unprotected TCP socket, an attacker can create a Docker container with the '/' path mounted with read/write permissions on the host server that is running the Docker container. As the Docker container executes commands as UID 0 it is honored by the host operating system allowing the attacker to edit/create files owned by root.


This check requires the Metasploit Remote Check Service to be enabled on Scan Engines. Please see the Metasploit Remote Check Service documentation for instructions on how to enable this functionality.

Solution

docker-daemon-unprotected-tcp-sock-sol
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.