> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-front-door-classic-web-application-firewall-waf-policy-rule-for-remote-command.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Azure Front Door (Classic) Web application firewall (WAF) policy rule for Remote Command...

### Synopsis

| Field               | Value                                                                                                          |
| ------------------- | -------------------------------------------------------------------------------------------------------------- |
| Rule Name           | Azure Front Door (Classic) Web application firewall (WAF) policy rule for Remote Command Execution is disabled |
| Rule Type           | Detection                                                                                                      |
| Finding Type        | Azure Front Door (Classic) Web application firewall (WAF) policy rule for Remote Command Execution is disabled |
| Finding ID          | 60000637                                                                                                       |
| Generates a Finding | This detection rule also generates a finding                                                                   |
| Severity            | Medium                                                                                                         |
| Category            | CONFIGURATION                                                                                                  |
| Cloud Providers     | AZURE                                                                                                          |
| Platform Module     | CSPM                                                                                                           |
| Asset Types         | AZURE\_FRONT\_DOOR\_WAF\_POLICY                                                                                |

### Description

Azure Front Door Web Application Firewall (WAF) policies lacking the enabled 'Remote Command Execution' rule present a significant security risk. This misconfiguration allows attackers to potentially execute arbitrary commands on the targeted web application.

The 'Remote Command Execution' rule within Azure Front Door WAF is crucial for protecting web applications from attacks exploiting vulnerabilities like Log4j. Disabling this rule removes a critical layer of defense, increasing the risk of successful remote code execution and subsequent data breaches or server compromise. Attackers could leverage this misconfiguration to gain unauthorized access and control.

The impact of this misconfiguration is potentially severe, ranging from data exfiltration and service disruption to complete system compromise. Maintaining the 'Remote Command Execution' rule enabled ensures proactive defense against known attack vectors, significantly reducing the attack surface and mitigating the risk of exploitation. Implementing this best practice enhances the overall security posture of the web application.

To remediate this, ensure the 'Remote Command Execution (944240)' rule is enabled within your Azure Front Door WAF policy's managed rules. Regularly review and update WAF rules to incorporate the latest security updates and address emerging threats. Proactive monitoring of WAF logs for suspicious activity is also recommended.

### Remediation

1. Log in to the Azure portal
2. Select 'All services' > 'Web Application Firewall policies (WAF)'
3. Click on the reported Web Application Firewall policies (WAF) policy
4. Click on the 'Managed rules' from the left panel
5. Search '944240' rule from search bar and Select rule
6. Click on the 'Enable' to enable rule


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/azure-front-door-classic-web-application-firewall-waf-policy-rule-for-remote-command.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
