Priviged Escalation in Google Cloud Platform's Guest-OSLogin
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| guest-oslogin | 20190304 to before 20200507 | 20200507 | Patch available | CNA |
- guest-oslogin VendorGoogle Affected 20190304 to before 20200507 Fixed in 20200507 Patch available CNA
Remediation
- Fix · CNA guest-oslogin (Google LLC) Fixed in 20200507
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Google guest-oslogin — openSUSE-SU-2020:0996
3 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2020-07154 Priviged Escalation in Google Cloud Platform's Guest-OSLoginPriority HIGH 75
- TI-2020-07167 Priviged Escalation in Google Cloud Platform's Guest-OSLoginPriority MEDIUM 42
- Advisory ·
Google guest-oslogin — openSUSE-SU-2020:1014
3 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2020-07154 Priviged Escalation in Google Cloud Platform's Guest-OSLoginPriority HIGH 75
- TI-2020-07167 Priviged Escalation in Google Cloud Platform's Guest-OSLoginPriority MEDIUM 42
Timeline
- 2026-10-02 Threatist record created from CVE-2020-8903
- 2026-10-03 Alias added: GHSA-29mh-jw46-2rf9
References
More Google Guest-oslogin vulnerabilities
- TI-2020-07154 Priviged Escalation in Google Cloud Platform's Guest-OSLogin CVSS 4.0CRITICAL 9.3
- TI-2020-07167 Priviged Escalation in Google Cloud Platform's Guest-OSLogin CVSS 4.0CRITICAL 9.3
Sources
- CVE-2020-8903 · CVE Program
- CVE-2020-8903 · NVD
- FIRST EPSS
- GHSA-29mh-jw46-2rf9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences