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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| D2iQ | DC/OS Marathon | < 1.9.0 | 1.9.0 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
DC/OS Marathon UI Docker Exploit
exploit/linux/http/dcos_marathon
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://www.exploit-db.com/exploits/42134 exploit
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dcos_marathon.rb exploit
- https://web.archive.org/web/20230609134421/https://warroom.rsmus.com/dcos-marathon-compromise/ technical-description
- https://dcos.io/ product
- https://www.vulncheck.com/advisories/dcos-marathon-docker-mount-abuse-rce third-party-advisory