CVE-2020-8907 Priviged Escalation in Google Cloud Platform's Guest-OSLogin
A user with OS Login role can escalate to root by leveraging Docker group membership to modify host filesystems in Google Cloud Platform.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8907?
CVE-2020-8907 is a critical vulnerability in Opensuse Leap, published on 22 Jun 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-276
Which versions are affected by CVE-2020-8907?
It affects 2 products.
Products include Google Guest-Oslogin, Opensuse Leap.
How do I fix CVE-2020-8907?
Upgrade to a fixed version.
Is CVE-2020-8907 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-8907 exists.
Other vulnerabilities in Opensuse Leap
Sources
Also known as GHSA-3p4p-r25g-jhpf, UBUNTU-CVE-2020-8907.