Description

IAM Instance Profiles are used to attach IAM Roles to EC2 Instances in order to grant them permissions to different AWS APIs. The instance profile {AwsIamInstanceProfile}, which is connected to {AwsIamInstanceProfile.Ec2Instances|count} instances, was found to have a role 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.