Load balancer endpoint does not enforce HTTPS Affecting ELB service in AWS


Severity

0.0
critical
0
10
Severity Framework
Snyk CCSS
Rule category
Keys and Secrets/ Access

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-CCMGDPRHIPAAISO-27001NIST-800-53PCI-DSSSOC-2
  • Snyk IDSNYK-CC-00311
  • creditSnyk Research Team

Description

The content could be intercepted and manipulated in transit.

How to fix?

Set the load balancer listener protocol attribute to HTTPS or TLS.

Example Configuration

resource "aws_lb_listener" "https" {
  load_balancer_arn = "arn:aws:iam::123456789012:lb"
  port              = "443"
  protocol          = "HTTPS"

  default_action {
    type = "forward"
  }
}