Lateral movement

Privileged Role – Group Management

Risk Level

Hazardous (3)

Platform(s)

Description

An IAM Role is an identity with permission policies that determine what the identity can do in AWS. A role does not have any credentials (password or access keys) associated with it. Instead of being uniquely associated with one person, a role is intended to be assumable by anyone who needs it. The role {AwsIamRole} was found with permissive permissions that allows the service or user with these permissions the ability to add a user to any group in the account. Any member of a group gains any privileges granted to that group. An attacker may use this ability to add themselves to a group which has been granted higher privileges than the user's original ones, which may ultimately lead to full account takeover.
  • Recommended Mitigation

    Review the role's policy and consider removing any of the following actions: iam:AddUserToGroup