The application load balancer is not set to drop invalid headers Affecting ELB service in AWS


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Network / Best Practices

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls CSA-CCM
  • Snyk ID SNYK-CC-00345
  • credit Snyk Research Team

Description

Maliciously crafted headers may be accepted by the load balancer.

How to fix?

Set Properties.LoadBalancerAttributes.Key to routing.http.drop_invalid_header_fields.enabled and Properties.LoadBalancerAttributes.Value to true.

CloudFormation

    Terraform