Hashicorp Vault GCP IAM Integration Authentication Bypass

HashiCorp Vault's GCP authentication method can be bypassed on gce type roles that do not specify bound_service_accounts. Vault does not enforce that the compute_engine data in a signed JWT token has any relationship to the service account that created the token. This makes it possible to impersonate arbitrary GCE instances, by creating a JWT token with a faked compute_engine struct, using an arbitrary attacker controlled service account.

MD5 | 7b83f776aff7e235a44aa2d4f4125bb8

Related Posts