High
EC2
Regional
EC2 security groups should not allow ingress from ::/0 to remote server administration ports
Description
Flags EC2 security groups that allow inbound traffic from ::/0 to the SSH (22) or RDP (3389) remote-administration ports. Public IPv6 exposure of these ports is the same risk as IPv4 0.0.0.0/0 exposure (EC2.53) for clients with IPv6.
Remediation
Remove or scope down the ::/0 ingress rule on each affected security group.
Steps
- Open the Amazon EC2 console and choose Security groups.
- Select the affected group and choose Edit inbound rules.
- Replace ::/0 with a specific IPv6 CIDR or remove the rule.
- Save the changes.