🇰🇷 한글 설명
Dokploy 0.29.13 미만 버전에서 WebSocket 핸들러가 사용자 인증은 수행하지만 권한 부여를 확인하지 않는 취약점이 발견되었습니다. 이로 인해 인증된 모든 사용자가 모든 컨테이너에 대한 대화형 셸을 열 수 있으며, 최종적으로 호스트 시스템의 루트 권한을 탈취할 수 있습니다.
💡 쉬운 설명
로그인만 하면 누구나 다른 사용자의 서버나 시스템 전체를 마음대로 조종할 수 있는 심각한 보안 구멍이 발견되었습니다. 이 문제를 통해 해커가 컴퓨터의 모든 제어권을 완전히 가져갈 수 있습니다.
🇺🇸 원문 (English)
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.29.13, Dokploy's WebSocket handlers (in-app terminals and log streamers) authenticate the session but never authorize it. They establish who the user is via validateRequest() and then proceed without consulting the role/permission model that every tRPC procedure enforces. Any authenticated member, can therefore open an interactive shell into any container on the host, including the dokploy container that mounts the Docker socket, and from there obtain root on the host, escaping the application and crossing every tenant boundary. This vulnerability is fixed in 0.29.13.
📍 영향받는 시스템
Dokploy 버전 0.29.13 미만
⚔️ 공격 벡터
인증된 사용자가 권한 검증이 누락된 WebSocket 핸들러를 통해 컨테이너 셸에 접속하여 호스트 권한 탈취
🛡️ 대응 방법
Dokploy를 최신 버전인 0.29.13 이상으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 0.29.13 미만의 버전 번호가 나타나면 취약한 상태입니다.
curl -s http://localhost:3000/api/version | grep -E '0\.[0-9]+\.[0-9]+' | grep -v '0.29.13'