🇰🇷 한글 설명
KubeVirt의 hostDisk 기능 중 DiskOrCreate 옵션에 논리적 결함이 존재합니다. 이 결함을 이용하면 공격자가 호스트 시스템 내의 더 높은 권한을 가진 사용자가 소유한 임의의 파일을 읽거나 쓸 수 있습니다.
💡 쉬운 설명
가상 머신을 관리하는 프로그램의 설정 오류로 인해, 가상 머신 안의 사용자가 실제 컴퓨터(호스트)에 있는 중요한 파일을 마음대로 조작할 수 있는 보안 구멍이 발견되었습니다.
🇺🇸 원문 (English)
KubeVirt is a virtual machine management add-on for Kubernetes. The `hostDisk` feature in KubeVirt allows mounting a host file or directory owned by the user with UID 107 into a VM. However, prior to version 1.6.1 and 1.7.0, the implementation of this feature and more specifically the `DiskOrCreate` option (which creates a file if it doesn't exist) has a logic bug that allows an attacker to read and write arbitrary files owned by more privileged users on the host system. Versions 1.6.1 and 1.7.0 fix the issue.
📍 영향받는 시스템
KubeVirt versions prior to 1.6.1 and 1.7.0
⚔️ 공격 벡터
hostDisk 기능의 DiskOrCreate 옵션을 악용하여 호스트의 권한 높은 파일을 대상으로 읽기/쓰기 공격 수행
🛡️ 대응 방법
KubeVirt를 1.6.1 또는 1.7.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력 결과에 1.6.1 또는 1.7.0 미만의 버전이 포함되어 있다면 취약한 상태입니다.
kubectl get pods -A -o jsonpath='{.items[*].spec.containers[*].image}' | grep -E 'kubevirt:[0-1]\.[0-5]\.'