🇰🇷 한글 설명
Kubetail 대시보드의 WebSocket 엔드포인트가 Origin 헤더를 적절히 검증하지 않아 Cross-Site WebSocket Hijacking(CSWSH) 취약점이 발생합니다. 악의적인 웹 페이지를 방문한 사용자의 브라우저가 대시보드에 접속하여 Kubernetes 로그를 실시간으로 탈취할 수 있습니다. 0.14.0 버전 이상으로 업그레이드하면 해결됩니다.
💡 쉬운 설명
Kubetail 대시보드가 보안 검증을 제대로 하지 않아서 악의적인 웹사이트가 당신의 Kubernetes 로그를 몰래 읽을 수 있습니다. 대시보드를 0.14.0 이상으로 업데이트하면 이 문제가 해결됩니다.
🇺🇸 원문 (English)
Kubetail is a real-time logging dashboard for Kubernetes. Prior to 0.14.0, Kubetail's dashboard exposes WebSocket endpoints that did not adequately validate the Origin header on connection upgrade. A malicious web page visited by a user with an active Kubetail session could open a WebSocket to the user's dashboard and read their Kubernetes logs in real time. This is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability and affects both the desktop deployment (default http://localhost:7500) and cluster deployments (typically behind an Ingress with HTTP basic auth). This vulnerability is fixed in 0.14.0.
📍 영향받는 시스템
Kubetail 0.13.x 이하 (데스크톱: localhost:7500, 클러스터: Ingress 뒤)
⚔️ 공격 벡터
악의적인 웹 페이지를 방문한 사용자의 브라우저에서 Kubetail WebSocket 엔드포인트로 비인가 연결을 수립하여 로그 탈취
🛡️ 대응 방법
Kubetail을 0.14.0 이상으로 업그레이드
🔧 검증 코드
설치된 Kubetail 버전이 0.14.0 이상이면 안전하고, 0.13.x 이하면 취약합니다.
npm list kubetail 2>/dev/null | grep -E 'kubetail@[0-9]' || kubetail --version 2>/dev/null