🇰🇷 한글 설명
SUSE Rancher의 부적절한 권한 관리 취약점으로, 일반 사용자가 기존 권한을 이용해 로컬 클러스터의 Kubernetes 시크릿을 조작할 수 있습니다. 이 과정에서 시크릿은 삭제되지만 사용자의 읽기 권한은 유지되며, 후속 특수 명령으로 로컬 클러스터 서비스 계정의 토큰에 접근될 수 있습니다. 영향 버전은 2.6.0 이상 2.6.13 미만, 2.7.0 이상 2.7.4 미만입니다.
💡 쉬운 설명
일반 사용자가 권한을 악용해 클러스터의 비밀 정보를 지우면서도 그 정보를 계속 볼 수 있게 됩니다. 이를 이용해 서비스 계정의 토큰까지 탈취할 수 있습니다.
🇺🇸 원문 (English)
An Improper Privilege Management vulnerability in SUSE Rancher allowed standard users to leverage their existing permissions to manipulate Kubernetes secrets in the local
cluster, resulting in the secret being deleted, but their read-level
permissions to the secret being preserved. When this operation was
followed-up by other specially crafted commands, it could result in the
user gaining access to tokens belonging to service accounts in the local cluster.
This issue affects Rancher: from >= 2.6.0 before < 2.6.13, from >= 2.7.0 before < 2.7.4.
📍 영향받는 시스템
SUSE Rancher 2.6.0 이상 2.6.13 미만, 2.7.0 이상 2.7.4 미만
⚔️ 공격 벡터
인증된 일반 사용자가 시크릿 조작 명령을 실행한 뒤 특수 제작된 후속 명령으로 서비스 계정 토큰에 접근
🛡️ 대응 방법
Rancher를 2.6.13 이상 또는 2.7.4 이상으로 업그레이드
🔧 검증 코드
출력된 이미지 태그의 버전이 2.6.13 이상 또는 2.7.4 이상이면 패치된 것이며, 그 미만이면 취약합니다.
kubectl get deployment rancher -n cattle-system -o jsonpath='{.spec.template.spec.containers[0].image}' 2>/dev/null