🇰🇷 한글 설명
Dockhand 1.0.34 미만 버전에서 WebSocket 업그레이드 요청 시 인증을 강제하지 않는 취약점이 발견되었습니다. 공격자가 컨테이너 ID를 알고 있다면 인증 없이 WebSocket 터미널 세션을 열어 컨테이너 내부에서 명령어를 실행할 수 있습니다. 이는 권한이 있는 컨테이너의 경우 호스트 시스템 침해로 이어질 수 있습니다.
💡 쉬운 설명
Docker 관리 도구인 Dockhand의 보안 허점으로 인해, 로그인하지 않은 외부인이 컨테이너 내부로 침입해 명령을 내릴 수 있습니다. 이를 통해 컨테이너를 넘어 컴퓨터 전체가 해킹당할 위험이 있습니다.
🇺🇸 원문 (English)
Dockhand is a Docker management application. Prior to 1.0.34, the in-browser container terminal endpoint /api/containers/<id>/exec does not enforce authentication on the WebSocket upgrade request. When an unauthenticated attacker has network reach to Dockhand, knows a target container ID, and targets a container with an interactive shell, the attacker can open a raw WebSocket terminal session and execute commands inside a known target container. This allows unauthenticated command execution inside the container, with possible host compromise when the container has sensitive mounts or privileged execution. This issue is fixed in version 1.0.34.
📍 영향받는 시스템
Dockhand 1.0.34 미만 모든 버전
⚔️ 공격 벡터
인증되지 않은 상태에서 특정 API 엔드포인트를 통해 WebSocket 터미널 세션 연결 시도
🛡️ 대응 방법
Dockhand를 최신 버전인 1.0.34 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 1.0.34 이상인지 확인하여 취약 여부를 판단합니다.
curl -s http://<dockhand-ip>:<port>/api/version | grep -E '1.0.34'