CVE-2020-8903: Priviged Escalation in Google Cloud Platform's Guest-OSLogin
Vulnerability summary
CVE-2020-8903 is a high (CVSS 7.8) Incorrect Default Permissions vulnerability in google llc guest-oslogin. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 22-06-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 "adm" group, users with this role are able to read the DHCP XID from the systemd journal. Using the DHCP XID, it is then possible to set the IP address and hostname of the instance to any value, which is then stored in /etc/hosts. An attacker can then point metadata.google.internal to an arbitrary IP address and impersonate the GCE metadata server which make it is possible to instruct the OS Login PAM module to grant 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 "adm" user from the OS Login entry.
CVSS metrics
6 scores · 3 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- NVDNIST7.3HighCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (gitlab.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Google1 product
- guest-oslogin≥ 20190304.00, ≤ 20200507.00
Google llc1 product
- guest-oslogin≥ 20190304, < 20200507
Opensuse1 product
- leapEOL15.1 | 15.2
Ubuntu1 product
- gce-compute-image-packagesAll versions (No fix recorded) | < 20190801-0ubuntu1~16.04.1 | < 20190801-0ubuntu1~18.04.1 | < 20190801-0ubuntu4.1
4 vendors · 4 products
References
7 links- github.com/GoogleCloudPlatform/guest-oslogin/pull/29X Refsource CONFIRMREPORTPatchThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00037.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00047.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory