Trusted IdP

Abusing trust placed in a third-party identity provider or SaaS vendor to obtain federated AWS access.

1 മിനിറ്റ് വായന2026 ഒക്ടോ 7-ന് അപ്ഡേറ്റ് ചെയ്തുflorianamette1 സംഭാവകൻ
നിങ്ങളുടെ അസിസ്റ്റന്റിനോട് ചോദിക്കുക (MCP)GitHub-ൽ എഡിറ്റ് ചെയ്യുക

An account often federates to a third-party identity provider (Okta, Auth0, Google, a corporate IdP) as a SAML or OIDC provider. The AWS trust is only as strong as that external IdP: compromise an account at the IdP that maps to an AWS role, or the IdP itself, and you inherit the mapped AWS access.

Mapping the trust#

bash
aws iam list-saml-providers
aws iam list-open-id-connect-providers
# for each role, read the trust to see which provider and claims it accepts
aws iam get-role --role-name <role> --query 'Role.AssumeRolePolicyDocument'

Exploitation notes#

  • The weak link is frequently the IdP's own authentication: an IdP account with a role mapping and weak MFA is a path into AWS.
  • Role mappings driven by an IdP group or attribute mean adding yourself to that group at the IdP grants the AWS role.
  • Concrete mechanics follow SAML or OIDC depending on the provider type.

Tools#

  • AWS CLI (iam list-saml-providers / list-open-id-connect-providers).
  • IdP-specific tooling for the provider in use.

References#