Publicly assumable IAM role can use role chaining to access sensitive data

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Description

A publicly assumable IAM role can use role chaining to access sensitive data. This configuration allows any AWS principal, including those from external AWS accounts, to assume the role and then 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. An attacker with any valid AWS credentials can exploit this misconfigured trust policy and follow the role chain to reach protected data.

Remediation

  1. Review and manage IAM roles to restrict the trust policy and limit which principals can assume the role.
  2. Apply IAM security best practices to ensure role chains follow the principle of least privilege.