Skip to content

Document tested Workload Identity Federation takeover paths - #378

Open
carlospolop wants to merge 2 commits into
mainfrom
codex/gcp-wif-provider-update-20260908
Open

Document tested Workload Identity Federation takeover paths#378
carlospolop wants to merge 2 commits into
mainfrom
codex/gcp-wif-provider-update-20260908

Conversation

@carlospolop

@carlospolop carlospolop commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • document five independently tested Workload Identity Federation escalation/restoration paths
  • cover provider create, provider update, provider undelete, pool update, and pool undelete permissions
  • state the residual trust and IAM prerequisites so these are not presented as unconditional privilege escalation
  • add exact REST/STS reproduction, permission-free identifier fallbacks, detection, and cleanup guidance

Live validation

Validated on 2026-09-08 in gcp-labs-ly3gvnn7 using disposable SAML pools/providers and a separate single-permission custom role for every path. Each test first proved the attacker assertion was rejected. The exact operation was then performed and its long-running operation completed; the same signed assertion obtained an STS token and successfully read the project.

Validated exact permissions:

  • iam.googleapis.com/workloadIdentityPoolProviders.create
  • iam.googleapis.com/workloadIdentityPoolProviders.update
  • iam.googleapis.com/workloadIdentityPoolProviders.undelete
  • iam.googleapis.com/workloadIdentityPools.update
  • iam.googleapis.com/workloadIdentityPools.undelete

All active test IAM bindings, service accounts, custom roles, providers, and pools were removed. Deleted WIF IDs and custom roles remain only as inactive soft-deletion tombstones.

Checks

  • documentation navigation, anchors, and cross-link targets verified
  • git diff --check clean
  • CloudPEASS full suite: 350 passed, 1 skipped, 210 subtests passed

@carlospolop carlospolop changed the title Document WIF SAML provider takeover Document tested Workload Identity Federation takeover paths Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant