Public-facing application load balancers should drop HTTP headers
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
Description
This control checks that public facing AWS Application Load Balancers (ALBs) are set to discard invalid HTTP headers. The control fails if the setting routing.http.drop_invalid_header_fields.enabled
is false, and skips private ALBs as those are covered in a separate finding. By default, ALBs do not drop invalid HTTP header values. Discarding these invalid headers is essential to prevent HTTP desynchronization attacks.
From the console
To configure the load balancer to drop invalid header fields:
- Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
- In the navigation pane, choose Load balancers.
- Select an Application Load Balancer.
- From Actions, choose Edit attributes.
- Under Drop Invalid Header Fields, choose Enable.
- Click Save.