More Info:

Roles which can be assumed by Principals

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration related to principals with assume role in Azure, follow these step-by-step instructions using the Azure console:

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

  2. Navigate to the Azure Active Directory (AAD) service by clicking on the “Azure Active Directory” option in the left-hand side menu.

  3. In the AAD dashboard, click on “Enterprise applications” under the “Manage” section in the left-hand side menu.

  4. In the “Enterprise applications” page, search for the application that needs to be remediated. You can use the search bar at the top to find the application by name.

  5. Click on the application to open its details page.

  6. In the application details page, click on the “Single sign-on” option in the left-hand side menu.

  7. Under the “Single sign-on” section, click on the “User assignment required” toggle switch to enable it. This will enforce user assignment for the application.

  8. Once the “User assignment required” toggle switch is enabled, click on the “Save” button at the top of the page to save the changes.

  9. Now, navigate to the “App registrations” section in the left-hand side menu of the AAD dashboard.

  10. In the “App registrations” page, search for the application that needs to be remediated. You can use the search bar at the top to find the application by name.

  11. Click on the application to open its details page.

  12. In the application details page, click on the “API permissions” option in the left-hand side menu.

  13. Under the “API permissions” section, review the permissions granted to the application. Remove any unnecessary or excessive permissions by clicking on the “Remove” button next to each permission.

  14. After removing the unnecessary permissions, click on the “Save” button at the top of the page to save the changes.

  15. Finally, navigate to the “Overview” section in the left-hand side menu of the AAD dashboard.

  16. In the “Overview” section, click on the “Properties” option in the top menu.

  17. Under the “Properties” section, review the settings and configurations for the application. Ensure that the appropriate settings are configured, such as multi-factor authentication, user assignment required, etc.

  18. Make any necessary changes to the properties and click on the “Save” button at the top of the page to save the changes.

By following these steps, you have successfully remediated the misconfiguration related to principals with assume role in Azure using the Azure console.