> 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/aws-cloudfront-web-distribution-with-aws-web-application-firewall-aws-waf-service-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS CloudFront web distribution with AWS Web Application Firewall (AWS WAF) service disabled

### Synopsis

| Field               | Value                                                                                        |
| ------------------- | -------------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                    |
| Finding Type        | AWS CloudFront web distribution with AWS Web Application Firewall (AWS WAF) service disabled |
| Finding ID          | 60000243                                                                                     |
| Generates a Finding | This detection rule also generates a finding                                                 |
| Severity            | Informational                                                                                |
| Category            | CONFIGURATION                                                                                |
| Cloud Providers     | AWS                                                                                          |
| Platform Module     | CSPM                                                                                         |
| Asset Types         | CLOUDFRONT\_DISTRIBUTION                                                                     |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                                              |
| ATT\&CK Technique   | T1686.001 (T1686.001)                                                                        |

### Description

CloudFront web distributions lacking AWS WAF enablement expose applications to various web application attacks.

CloudFront acts as a content delivery network, distributing content globally for faster access. AWS WAF is a crucial security layer, filtering malicious traffic before it reaches the origin server. Disabling WAF leaves applications vulnerable to cross-site scripting (XSS), SQL injection, and other application-layer attacks. Attackers can exploit this misconfiguration to steal data, deface websites, or launch further attacks against the infrastructure.

The impact of this misconfiguration includes data breaches, service disruptions, and reputational damage. Enabling WAF provides a critical defense-in-depth strategy, mitigating many common web application attacks. Proactive protection is essential for maintaining application security and data integrity.

Implement AWS WAF on all CloudFront distributions. Configure a web ACL with appropriate rules to filter malicious traffic. Regularly review and update WAF rules based on threat intelligence and application needs. This layered security approach significantly enhances the protection of your CloudFront resources.

### Remediation

**Manual steps:**

Cloudfront Distribution - Manual remediation steps:

1. Sign in to the AWS console
2. Go to the CloudFront Distributions Dashboard
3. Click on the reported web distribution
4. On 'General' tab, Click on 'Edit' button
5. On 'Edit Distribution' page, Choose a 'AWS WAF Web ACL' from dropdown.
6. Click on 'Yes, Edit'


---

# 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/aws-cloudfront-web-distribution-with-aws-web-application-firewall-aws-waf-service-disabled.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.
