🇰🇷 한글 설명
Google Cloud Platform의 guest-oslogin(20190304~20200507 버전)에서 발생하는 권한 상승 취약점입니다. 'roles/compute.osLogin' 권한만 가진 사용자가 docker 그룹 멤버십을 악용하여 호스트 OS를 마운트하고 /etc/groups 파일을 수정함으로써 루트 권한을 획득할 수 있습니다.
💡 쉬운 설명
제한된 권한을 가진 사용자가 도커(Docker) 프로그램을 이용해 컴퓨터의 핵심 시스템 파일을 마음대로 수정할 수 있는 문제입니다. 이를 통해 일반 사용자가 관리자(root) 권한을 몰래 가져갈 수 있습니다.
🇺🇸 원문 (English)
A vulnerability in Google Cloud Platform's guest-oslogin versions between 20190304 and 20200507 allows a user that is only granted the role "roles/compute.osLogin" to escalate privileges to root. Using their membership to the "docker" group, an attacker with this role is able to run docker and mount the host OS. Within docker, it is possible to modify the host OS filesystem and modify /etc/groups to gain administrative privileges. All images created after 2020-May-07 (20200507) are fixed, and if you cannot update, we recommend you edit /etc/group/security.conf and remove the "docker" user from the OS Login entry.
📍 영향받는 시스템
Google Cloud Platform guest-oslogin versions between 20190304 and 20200507
⚔️ 공격 벡터
osLogin 권한을 가진 사용자가 docker 그룹을 통해 호스트 OS 파일시스템을 마운트하고 /etc/groups를 수정하여 권한 상승
🛡️ 대응 방법
guest-oslogin 이미지를 20200507 이후 버전으로 업데이트하거나, /etc/group/security.conf에서 docker 사용자를 제거하십시오.
🔧 검증 코드
출력된 패키지 버전이 20190304보다 크고 20200507보다 작거나 같은지 확인하십시오.
dpkg -l | grep google-compute-engine-oslogin 2>/dev/null