More Info:

IAM User or Role can be leveraged to escalate privileges and can present higher risk.

Risk Level

Medium

Address

Security

Compliance Standards

CISGCP,HIPAA,SCO2,NISTCSF,NIST,AWSWAF,ISO27001,HITRUST

Triage and Remediation

Remediation

To remediate the misconfiguration of an IAM user or role with privilege escalation in Azure, you can follow these step-by-step instructions using the Azure console:

  1. Sign in to the Azure portal (https://portal.azure.com) using your administrator account.

  2. Navigate to the “Azure Active Directory” service from the left-hand menu.

  3. In the Azure Active Directory overview page, select “Users” or “Roles” based on whether the misconfiguration is related to a user or a role.

  4. If the misconfiguration is related to a user, search for the affected user in the “Users” section and select it. If it is related to a role, go to the “Roles and administrators” section and select the affected role.

  5. In the user or role details page, review the assigned permissions and privileges.

  6. To remediate the privilege escalation, you have two options:

    a. Remove the user or role: If the user or role is not required, you can remove it by selecting the “Delete” or “Remove” option. Confirm the action when prompted.

    b. Modify the assigned permissions: If the user or role is required but has excessive permissions, you can modify the assigned permissions to reduce the privilege level. To do this, select the “Permissions” or “Assignments” tab in the user or role details page.

  7. In the permissions or assignments tab, review the existing permissions or assignments and identify the excessive or unnecessary ones.

  8. To modify the permissions or assignments, select the specific permission or assignment and choose the “Remove” or “Revoke” option. Confirm the action when prompted.

  9. Repeat step 8 for all the excessive or unnecessary permissions or assignments.

  10. Once you have removed or modified the necessary permissions or assignments, review the remaining permissions or assignments to ensure they align with the principle of least privilege.

  11. Save the changes and exit the user or role details page.

By following these steps, you can remediate the misconfiguration of an IAM user or role with privilege escalation in Azure using the Azure console.