For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Azure App Services Remote debugging is enabled misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_72

Category - Subcategory

Public Exposure - APIs

Provider

AZURE

Severity

MEDIUM

Framework

ARM, Bicep, Terraform, Terraform Plan

Mapped CSPM/KSPM Rule

1feba014-ed3b-46ed-8a7c-4c03ec1469b7

Impact

Remote debugging allows you to remotely connect to a running app and debug it from a different location. While this can be useful for developers who need to troubleshoot issues with their app, it also introduces a potential security risk because it allows someone to remotely access your app and potentially modify its code or behavior. If remote debugging is enabled for your app services, it could potentially be exploited by an attacker to gain unauthorized access to your app and potentially compromise it. This could result in data loss, financial damage, or other negative consequences.

How to Fix

Resource: azurerm_app_service

  • Arguments: remote_debugging_enabled [source,go]


resource "azurerm_app_service" "example" { ...

  • remote_debugging_enabled = false }


Last updated

Was this helpful?