🇰🇷 한글 설명
Capsule Operator의 리버스 프록시인 capsule-proxy 0.2.1 미만 버전에서 발생하는 취약점입니다. 인증된 공격자가 악의적인 Connection 헤더를 사용하여 Kubernetes API 서버에 대한 권한 상승 공격을 수행할 수 있으며, 이를 통해 capsule-proxy에 할당된 cluster-admin 권한을 탈취할 수 있습니다.
💡 쉬운 설명
해커가 특수한 명령이 담긴 요청을 보내면 관리자 권한을 몰래 훔칠 수 있는 보안 구멍입니다. 이로 인해 클러스터 전체를 제어할 수 있는 위험한 상황이 발생할 수 있습니다.
🇺🇸 원문 (English)
capsule-proxy is a reverse proxy for Capsule Operator which provides multi-tenancy in Kubernetes. In versions prior to 0.2.1 an attacker with a proper authentication mechanism may use a malicious `Connection` header to start a privilege escalation attack towards the Kubernetes API Server. This vulnerability allows for an exploit of the `cluster-admin` Role bound to `capsule-proxy`. There are no known workarounds for this issue.
📍 영향받는 시스템
capsule-proxy versions prior to 0.2.1
⚔️ 공격 벡터
인증된 사용자가 조작된 Connection 헤더를 사용하여 Kubernetes API 서버로 권한 상승 공격 수행
🛡️ 대응 방법
capsule-proxy를 0.2.1 버전 이상으로 업데이트
🔧 검증 코드
출력된 이미지 태그 버전이 0.2.1 미만이면 취약한 상태입니다.
kubectl get deployment capsule-proxy -n capsule-operator -o jsonpath='{.spec.template.spec.containers[0].image}' | grep -oE 'capsule-proxy:[0-9.]+'