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 environment 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-ControlsCSA-CCM
  • Snyk IDSNYK-CC-00345
  • creditSnyk 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