> 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-application-load-balancer-alb-is-not-configured-to-drop-http-headers.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Application Load Balancer (ALB) is not configured to drop HTTP headers

### Synopsis

| Field               | Value                                                                      |
| ------------------- | -------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                  |
| Finding Type        | AWS Application Load Balancer (ALB) is not configured to drop HTTP headers |
| Finding ID          | 60000891                                                                   |
| Generates a Finding | This detection rule also generates a finding                               |
| Severity            | Medium                                                                     |
| Category            | CONFIGURATION                                                              |
| Cloud Providers     | AWS                                                                        |
| Platform Module     | CSPM                                                                       |
| Asset Types         | AWS\_LOAD\_BALANCER                                                        |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                            |
| ATT\&CK Technique   | T1685 (T1685)                                                              |

### Description

AWS Application Load Balancers (ALBs) lacking HTTP header dropping misconfiguration exposes them to HTTP desync attacks. These attacks manipulate headers, causing inconsistencies between servers and potentially leading to unauthorized access.

ALBs distribute traffic across targets. A misconfigured ALB forwards requests with invalid headers, bypassing security checks. Attackers could exploit this to inject malicious code or bypass authentication mechanisms, compromising application security and potentially leading to data breaches.

The impact of this misconfiguration is unauthorized access and potential data breaches. Dropping invalid headers prevents attackers from exploiting inconsistencies in server responses. This strengthens the ALB's security posture and reduces the attack surface.

Implement a configuration to drop invalid HTTP headers on all ALBs. Regularly review and update the ALB configuration to ensure it remains secure.

### Remediation

**Manual steps:**

AWS Load Balancer - Manual remediation steps:

To configure the application load balancer to drop invalid HTTP header fields, perform the following actions:

1. Open the Amazon EC2 console at <https://console.aws.amazon.com/ec2/>
2. In the navigation pane, choose 'Load balancers'
3. Choose the reported Application Load Balancer
4. From 'Actions', choose 'Edit load balancer attributes'
5. Enable the 'Drop invalid header fields' option
6. Click on 'Save changes'


---

# 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-application-load-balancer-alb-is-not-configured-to-drop-http-headers.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.
