7.8

CVE-2020-8903: Priviged Escalation in Google Cloud Platform's Guest-OSLogin

Modified
AliasesUBUNTU-CVE-2020-8903
Published 22-06-2020Last modified 04-08-2024

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.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 22-06-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (gitlab.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Google1 product
Google llc1 product
Opensuse1 product
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