For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-ay9.md. A documentation index is available at /llms.txt.

Private application load balancers should drop HTTP headers

Description

This control checks that AWS Application Load Balancers (ALBs) with an internal scheme drop invalid HTTP header fields, which helps reduce the risk of HTTP desynchronization attacks. The scheme field determines classification, so the computed public accessibility of the load balancer does not affect the result. ALBs with an internet-facing scheme, or with a missing, null, or empty scheme, are evaluated by the “Public-facing application load balancers should drop HTTP headers” control. ALBs with any other scheme value are not evaluated by either control. Load balancers with a missing, empty, or non-application type are not evaluated.

Remediation

Set the routing.http.drop_invalid_header_fields.enabled attribute to true on the load balancer. For steps, see the AWS Security Hub ELB.4 remediation guidance.