More Info:

Ensure that your Azure App Services web applications have remote debugging disabled in order to enhance security and protect the applications from unauthorized access. Remote Debugging feature is available for web applications

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of disabling remote debugging in Azure, you can follow the below steps:

  1. Log in to the Azure Portal (https://portal.azure.com/).
  2. Navigate to the App Service that you want to remediate.
  3. Click on the “Configuration” blade on the left-hand side of the screen.
  4. Scroll down to the “Application Settings” section and click on it.
  5. Locate the “Remote Debugging Enabled” setting and set it to “Off”.
  6. Click on the “Save” button at the top of the screen to save the changes.

Once the above steps are completed, remote debugging will be disabled for the App Service.