Risk Level: High
Cloud Entity: Network Load Balancer
CloudGuard Rule ID: D9.AWS.NET.AG2.8.NetworkLoadBalancer.3306.TCP
Covered by Spectral: No
Category: Networking & Content Delivery
NetworkLoadBalancer where isPublic=true and nics contain [ subnet.routeTable.associations length()>0 ] and nics contain [ subnet.routeTable.routes contain [ destinationCidrBlock='0.0.0.0/0' and gatewayId regexMatch /gw/ ] ] should not have inboundRules contain [ port<=3306 and portTo>=3306 and protocol in ('TCP', 'ALL') and scope isPublic() and scope='0.0.0.0/0']
Limit the access scope for NetworkLoadBalancer with service 'MySQL to only allow access in internal networks and limited scope.
If public interface exists, remove it and limit the access scope within the VPC only to applications or instances that requires access.
As a further protection step, Use CloudGuard 'Tamper Protection' (Full Protection mode) and region lock to prevent unauthorized changes to network access settings, refer to https://sc1.checkpoint.com/documents/CloudGuard_Dome9/Documentation/Network-Security/DynAccessLease.html?Highlight=dynamic%20access for more details.
A Network Load Balancer functions at the fourth layer of the Open Systems Interconnection (OSI) model. It can handle millions of requests per second. After the load balancer receives a connection request, it selects a target from the target group for the default rule. It attempts to open a TCP connection to the selected target on the port specified in the listener configuration.
Updated 16 days ago