Risk Level: Low
Description:
This plugin ensures that WAF is activated on all Application Load Balancers. Enabling WAF gives you more control over requests to the load balancer, permitting or disallowing traffic based on Web ACL rules.
About the Service :
The Amazon ECS service may be configured to employ Elastic Load Balancing to uniformly distribute traffic among your service's jobs. The transport layer (TCP/SSL) or the application layer (HTTP/HTTPS) are where a Classic Load Balancer makes routing choices. A fixed relationship between the load balancer port and the container instance port is presently required by traditional load balancers.
Impact :
Enabling WAF gives you more control over requests to the load balancer, permitting or disallowing traffic based on Web ACL rules.
Steps to reproduce :
- Login to your AWS Management Console.
- Navigate to the EC2 console.
https://ap-south-1.console.aws.amazon.com/ec2/ - Click on Load Balancers under Load Balancing.
- Select the load balancer that you want to examine.
- In the Description tab, check if WAF fail open is enabled or not.
- Since it is not enabled hence we can conclude that the best security practices are not followed.
- Repeat steps for other EC2 load balancers as well.
Steps for remediation :
- Login to your AWS Management Console.
- Navigate to the EC2 console.
https://ap-south-1.console.aws.amazon.com/ec2/ - Click on Load Balancers under Load Balancing.
- Select the load balancer that you want to examine.
- In the Description tab, check if WAF fail open is enabled or not.
- Since it is not enabled hence we can conclude that the best security practices are not followed.
- Click on Edit and enable WAF and then click on Save to save changes.
- Repeat steps for other EC2 load balancers as well.
References: