9.6 Ensure that 'Basic Authentication' is 'Disabled'

Information

Basic Authentication provides the ability to create identities and authentication for an App Service without a centralized Identity Provider. For a more effective, capable, and secure solution for Identity, Authentication, Authorization, and Accountability, a centralized Identity Provider such as Entra ID is strongly advised.

Rationale:

Basic Authentication introduces an identity silo which can produce privileged access to a resource. This can be exploited in numerous ways and represents a significant vulnerability and attack vector.

Impact:

An Identity Provider that can be used by the App Service for authenticating users is required.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Remediate from Azure Portal

Search for, and open App Services from the search bar.

For each App Service listed:

Click on the App Service name.

Under the Settings menu item, click on Configuration

Under the General settings tab, scroll down to locate the two Basic Auth settings:

Set the SCM Basic Auth Publishing Credentials radio button to Off

Set the FTP Basic Auth Publishing Credentials radio button to Off

CAUTION: The new settings are not yet applied. Applying them may cause your App Service resource to restart - proceed with caution. Click the Save button, then click Continue to apply the updated configuration.
Repeat this procedure for each App Service.

Default Value:

Both parameters for Basic Authentication (SCM and FTP) are set to On by default.

See Also

https://workbench.cisecurity.org/benchmarks/16820

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(1), CSCv7|16.2

Plugin: microsoft_azure

Control ID: 165b05ea9c55b41ebb8f1028c20afdd07181d264ffef012355e1de26d2f9694e