Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:27163
HistorySep 21, 2020 - 6:39 a.m.

Privilege Escalation

2020-09-2106:39:30
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
6

0.001 Low

EPSS

Percentile

33.4%

gce-compute-image is vulnerable to privilege escation. The vulnerability 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.

0.001 Low

EPSS

Percentile

33.4%