| name | cis-azure-foundations-5.13 |
| description | Ensure 'User consent for applications' is set to 'Allow user consent for apps from verified publishers, for selected permissions' |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","identity","application-consent","verified-publishers","permissions"] |
| cis_id | 5.13 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | ["cis-azure-foundations-5.12","cis-azure-foundations-5.14"] |
| prerequisites | [] |
| severity_boost | {} |
Ensure 'User consent for applications' is set to 'Allow user consent for apps from verified publishers, for selected permissions'
Description
Allow users to provide consent for selected permissions when a request is coming from a verified publisher.
Rationale
If Microsoft Entra ID is running as an identity provider for third-party applications, permissions and consent should be limited to administrators or pre-approved. Malicious applications may attempt to exfiltrate data or abuse privileged user accounts.
Impact
Enforcing this setting may create additional requests that administrators need to review.
Audit Procedure
Using Azure Portal
- From Azure Home select the Portal Menu
- Select
Microsoft Entra ID
- Under
Manage, select Enterprise applications
- Under
Security, select Consent and permissions
- Under
Manage, select User consent settings
- Under
User consent for applications, ensure Allow user consent for apps from verified publishers, for selected permissions is selected
Using PowerShell
Connect-MgGraph
(Get-MgPolicyAuthorizationPolicy).DefaultUserRolePermissions | Select-Object -ExpandProperty PermissionGrantPoliciesAssigned
The command should return either ManagePermissionGrantsForSelf.microsoft-user-default-low or a custom app consent policy id if one is in use.
Expected Result
User consent for applications should be set to Allow user consent for apps from verified publishers, for selected permissions. PowerShell should return ManagePermissionGrantsForSelf.microsoft-user-default-low.
Remediation
Using Azure Portal
- From Azure Home select the Portal Menu
- Select
Microsoft Entra ID
- Under
Manage, select Enterprise applications
- Under
Security, select Consent and permissions
- Under
Manage, select User consent settings
- Under
User consent for applications, select Allow user consent for apps from verified publishers, for selected permissions