Description
The Marathon UI in DC/OS < 1.9.0 allows unauthenticated users to deploy arbitrary Docker containers. Due to improper restriction of volume mount configurations, attackers can deploy a container that mounts the host's root filesystem (/) with read/write privileges. When using a malicious Docker image, the attacker can write to /etc/cron.d/ on the host, achieving arbitrary code execution with root privileges. This impacts any system where the Docker daemon honors Marathon container configurations without policy enforcement.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
D2iQ, Inc. DC/OS Marathon
Default version status: unknown
0 to < 1.9.0affected
References
- https://www.exploit-db.com/exploits/42134 ↗
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dcos_marathon.rb ↗
- https://web.archive.org/web/20230609134421/https://warroom.rsmus.com/dcos-marathon-compromise/ ↗
- https://dcos.io/ ↗
- https://www.vulncheck.com/advisories/dcos-marathon-docker-mount-abuse-rce ↗