Rapid7 Vulnerability & Exploit Database

Docker Daemon - Remote execution via unprotected TCP socket

Back to Search

Docker Daemon - Remote execution via unprotected TCP socket

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
07/25/2017
Created
02/03/2021
Added
02/03/2021
Modified
02/03/2021

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(s)

  • docker-daemon-unprotected-tcp-sock-sol

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;