IAM role can use role chaining to access sensitive data

Description

An IAM role can use role chaining to access sensitive data. If an attacker gains access to this role, they can assume one or more other IAM roles in sequence, following a chain of trust relationships to ultimately gain access to resources containing sensitive information such as S3 buckets, RDS databases, or DynamoDB tables. Each step in the chain grants additional permissions until the attacker reaches the target sensitive data.

Remediation

  1. Review and manage IAM role permissions to limit role assumption capabilities.
  2. Apply IAM security best practices to ensure role chains follow the principle of least privilege.