Ensure Application Load Balancers (ALB) are configured to drop HTTP headers

Security & Compliance

The HTTP headers of a request or response can contain sensitive information, which can be intercepted or manipulated by attackers. Therefore, it is important to configure Application Load Balancers (ALBs) to drop specific HTTP headers that are unnecessary or sensitive, such as server version, X-Powered-By, or cookies. This ensures that the ALB is not forwarding any sensitive information to the backend servers, reducing the attack surface for potential threats.


To ensure that Application Load Balancers (ALB) are configured to drop HTTP headers, follow the below remediation steps:

  1. Open the Amazon EC2 Console and then select "Load Balancers" from the navigation pane.
  2. Click on the name of the ALB that you want to configure.
  3. In the left navigation pane, choose "Listeners".
  4. Select the protocol and port for the listener you want to modify.
  5. In the "Actions" column, choose "Edit".
  6. Expand the "HTTP headers" section.
  7. Choose the header that you want to drop and then click on the "-" button next to it.
  8. Click "Save" to apply the changes to the listener.

Repeat these steps for any other listeners that are configured on the ALB. By dropping unnecessary HTTP headers, you can reduce the attack surface of your ALB and improve its security posture.

Enforced Resources
Note: Remediation steps provided by Lightlytics are meant to be suggestions and guidelines only. It is crucial to thoroughly verify and test any remediation steps before applying them to production environments. Each organization's infrastructure and security needs may differ, and blindly applying suggested remediation steps without proper testing could potentially cause unforeseen issues or vulnerabilities. Therefore, it is strongly recommended that you validate and customize any remediation steps to meet your organization's specific requirements and ensure that they align with your security policies and best practices.