🇰🇷 한글 설명
CoreOS Tectonic의 특정 버전에서 /api/kubernetes/ 경로가 인증 없이 노출되어 쿠버네티스 API 서버에 직접 연결할 수 있는 취약점이 발견되었습니다. 공격자는 이를 통해 클러스터의 모든 네임스페이스를 열람할 수 있으며, 이는 추가적인 권한 상승 공격을 위한 정보 노출로 이어질 수 있습니다.
💡 쉬운 설명
인증 절차 없이 클러스터의 내부 정보를 들여다볼 수 있는 통로가 열려 있는 상태입니다. 공격자가 이 통로를 통해 시스템의 구조를 파악하고 더 큰 공격을 준비할 수 있습니다.
🇺🇸 원문 (English)
CoreOS Tectonic 1.7.x before 1.7.9-tectonic.4 and 1.8.x before 1.8.4-tectonic.3 mounts a direct proxy to the kubernetes cluster at /api/kubernetes/ which is accessible without authentication to Tectonic and allows an attacker to directly connect to the kubernetes API server. Unauthenticated users are able to list all Namespaces through the Console, resulting in an information disclosure. Tectonic's exposure of an unauthenticated API endpoint containing information regarding the internal state of the cluster can provide an attacker with information that may assist in other attacks against the cluster. For example, an attacker may not have the permissions required to list all namespaces in the cluster but can instead leverage this vulnerability to enumerate the namespaces and then begin to check each namespace for weak authorization policies that may allow further escalation of privileges.
📍 영향받는 시스템
CoreOS Tectonic 1.7.x (1.7.9-tectonic.4 미만) 및 1.8.x (1.8.4-tectonic.3 미만)
⚔️ 공격 벡터
인증되지 않은 사용자가 노출된 /api/kubernetes/ 프록시 엔드포인트를 통해 쿠버네티스 API에 접근
🛡️ 대응 방법
Tectonic을 보안 패치가 적용된 최신 버전(1.7.9-tectonic.4 이상 또는 1.8.4-tectonic.3 이상)으로 업데이트
🔧 검증 코드
명령어 실행 결과 'VULNERABLE'이 출력되면 인증 없이 네임스페이스 목록이 조회되는 취약한 상태입니다.
curl -k -s https://<tectonic-host>/api/kubernetes/api/v1/namespaces | grep -q '"kind": "Namespace"' && echo 'VULNERABLE' || echo 'NOT VULNERABLE'