confused deputy problem
An attack where a trusted program with broad access is tricked into using that access on behalf of someone who should not have it.
Without a check, a trusted vendor can be steered into accessing your account for an attacker.
In more detail
A vendor account assumes roles in many customers' accounts. An attacker signs up with the vendor and enters your role ARN; without an external ID check, the vendor's job reads your data for them.
Related terms
- external ID — Identities from outside an organisation, such as the work accounts of partners or the social accounts of customers, that are allowed to sign in to its apps.
- cross-account access — A principal in one AWS account using resources in another, allowed only when policies on both sides agree.
Taught in
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering