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.
Problem types
CWE-732 Incorrect Permission Assignment for Critical Resource
Product status
Any version before 1.9.0
Credits
Erik Daguerre
References
www.exploit-db.com/exploits/42134
raw.githubusercontent.com/...its/linux/http/dcos_marathon.rb
web.archive.org/...rroom.rsmus.com/dcos-marathon-compromise/
dcos.io/
www.vulncheck.com/...es/dcos-marathon-docker-mount-abuse-rce