CVE-2020-8907
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.
EPSS 0.09% · 24.9th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | gce-compute-image-packages | 20180905+dfsg1-0ubuntu1~18.04.0, *, * |
| Ubuntu:16.04:LTS | gce-compute-image-packages | *, 0, 20160930-0ubuntu3~16.04.0 |
| Ubuntu:14.04:LTS | gce-compute-image-packages | 20180905+dfsg1-0ubuntu1~14.04.1, 20190315-0ubuntu1~14.04.0, * |
| Ubuntu:20.04:LTS | gce-compute-image-packages | 0, 20190801-0ubuntu4, 20190801-0ubuntu3 |
Exploit Intelligence
- https://gitlab.com/gitlab-com/gl-security/gl-redteam/red-team-tech-notes/-/tree/master/oslogin-privesc-june-2020 (nist-nvd)
- https://github.com/GoogleCloudPlatform/guest-oslogin/pull/29 (circl)
- https://cloud.google.com/support/bulletins/#gcp-2020-008 (circl)
- openSUSE-SU-2020:0996 (circl)
- openSUSE-SU-2020:1014 (circl)
Timeline
- Jun 22, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-8907 third-party-advisory
- https://cloud.google.com/support/bulletins/#gcp-2020-008 third-party-advisory
- https://github.com/GoogleCloudPlatform/guest-oslogin/pull/29 third-party-advisory
- https://gitlab.com/gitlab-com/gl-security/gl-redteam/red-team-tech-notes/-/tree/master/oslogin-privesc-june-2020 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-8907 third-party-advisory