Medium
ELB
Regional
Application Load Balancer should be configured to drop invalid http headers
NIST
Description
This check ensures that Application Load Balancers are configured to drop invalid HTTP headers. Dropping invalid headers can protect against potential header injection attacks and reduce the risk of malformed HTTP requests causing unexpected behavior.
Remediation
To remediate this issue, configure your load balancer to drop invalid header fields.
Steps
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
- In the navigation pane, choose Load balancers.
- Choose the Application Load Balancer.
- From Actions, choose Edit attributes.
- Under Drop Invalid Header Fields, choose Enable.
- Choose Save.
Compliance
NIST