CVE-2020-8903: google llc guest-oslogin Incorrect Default Permissions
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 22.8% of scored vulnerabilities. 1 public exploit is recorded.
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
23%
Versus all other CVEs
30-day change
0.00 pp
From 0.32% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gitlab.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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