7.8

CVE-2020-8903: google llc guest-oslogin Incorrect Default Permissions

CVSS: 7.8v3.1HighModified
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 22.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

23%

Versus all other CVEs

30-day change

0.00 pp

From 0.32% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (gitlab.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

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