OH MY DC: Abusing OIDC All the Way to Your Cloud
Attack vectors exploiting OpenID Connect under-configurations and IdP misconfigurations in CI/CD pipelines to breach cloud environments.
Summary
OIDC Adoption in CI/CD Workflows
As DevOps and developers are slowly shifting away from storing long-lived static credentials to the more secure, still kinda-new, OIDC alternative - the underlying logic, mechanisms and implementations tend to feel like complicated magic and are mostly overlooked.
Under Configurations and Misconfiguration Risks
In this talk, we'll begin by recapping what OIDC is, who are the interacting entities when OIDC is used, and how OIDC is taking place to securely access one's cloud using CI/CD flows.
Token Leakage and Identity Provider Flaws
Once covered, we will be able to alternate our point-of-view between the entities in play and demonstrate potential vulnerabilities in various setups.
Starting with the user PoV, we will show what "under-configurations" look like, and continue by demonstrating how new OIDC configuration options can actually be misconfigurations that can result with a compromise.
We will then see another attack vector where leaking an OIDC token from a single repository in an organization can allow an attacker to abuse under-configurations and access private clouds.
After that, we will shift our PoV to be of the Identity Provider (IdP) so that we can look into what happens if an IdP is misconfigured, and disclose a real-world security vulnerability found in one of the most popular CI vendors that allowed us to access any of their customers' cloud environments.
I'll refer to this talk by the Tinder Security team link where they show how they could "claim" in the name of other identities due to under-configured WIFs.
Related talks
Main Stage·45 min
Ben Morris
Reveals thousands of publicly exposed AWS EBS snapshots containing plaintext credentials, encryption keys, and production database dumps.
fwd:cloudsec·23 min
Jie Wu · Pulkit Garg
Jie Wu investigates Who Did This? Identity and Accountability When Your Cloud Actors Aren't Human.
fwd:cloudsec·20 min
Tal
Tal explores Sub:jugation - Hijacking Cloud Identities by Recycling Namespaces in Global OIDC Issuers.


