🇰🇷 한글 설명
DC/OS 1.9.0 이전 버전의 Marathon UI가 미인증 사용자의 임의 Docker 컨테이너 배포를 허용합니다. 볼륨 마운트 제한이 부족하여 공격자는 호스트의 루트 파일시스템을 읽기/쓰기로 마운트하고, /etc/cron.d/에 악성 코드를 작성하여 root 권한으로 임의 코드 실행이 가능합니다.
💡 쉬운 설명
DC/OS 시스템의 Marathon UI 관리 도구에서 아무나 도커를 배포할 수 있고, 호스트 컴퓨터 전체에 접근 권한을 줄 수 있습니다. 이를 통해 공격자는 관리자 권한으로 악의적인 프로그램을 실행할 수 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
DC/OS 1.9.0 미만 버전 (Marathon UI 포함)
⚔️ 공격 벡터
Marathon UI 웹 인터페이스에 미인증 접근하여 볼륨 마운트로 호스트 루트 파일시스템을 마운트하고 /etc/cron.d/에 악성 작업 등록
🛡️ 대응 방법
DC/OS를 1.9.0 이상으로 업그레이드하고, Marathon UI 접근에 인증 및 네트워크 정책 적용
🔧 검증 코드
DC/OS 버전이 1.9.0 이상이면 안전하고, 1.9.0 미만이면 취약하며, 연결 불가능하면 Marathon이 실행 중이 아닙니다
curl -s http://localhost:8080/dcos-metadata/dcos-version.json 2>/dev/null | grep -o '"version":"[^"]*"'