cve.bz

CVE-2020-8903 Incorrect Default Permissions

7.3 highExploit referenceEPSS 0.3%Fix available

High (7.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.3 high
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8903 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8903?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8903?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8903 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Google LLC guest-osloginfrom 20190304 before 20200507

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu14.04:LTSgce-compute-image-packagesno fix listedUBUNTU-CVE-2020-8903
Ubuntu16.04:LTSgce-compute-image-packages20190801-0ubuntu1~16.04.1UBUNTU-CVE-2020-8903
Ubuntu18.04:LTSgce-compute-image-packages20190801-0ubuntu1~18.04.1UBUNTU-CVE-2020-8903
Ubuntu20.04:LTSgce-compute-image-packages20190801-0ubuntu4.1UBUNTU-CVE-2020-8903
SUSELinux Enterprise Module for Public Cloud 12google-compute-engine20190801-54.1SUSE-SU-2020:2200-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2google-compute-engine20190801-4.38.1SUSE-SU-2020:1934-1
openSUSELeap 15.1google-compute-engine20190801-lp151.2.25.1openSUSE-SU-2020:0996-1
openSUSELeap 15.2google-compute-engine20190801-lp152.5.4.1openSUSE-SU-2020:1014-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON