π‘οΈ AWS VPC Network ACL exposes admin ports to public internet portsπ’
- Contextual name: π‘οΈ Network ACL exposes admin ports to public internetπ’
- ID:
/ce/ca/aws/vpc/network-acl-exposes-admin-ports-to-internet - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: Unrestricted Inbound Traffic on Remote Server Administration Ports
Descriptionβ
Descriptionβ
The Network Access Control List (NACL) function provide stateless filtering of ingress and egress network traffic to AWS resources. It is recommended that no NACL allows unrestricted ingress access to remote server administration ports, such as SSH to port 22 and RDP to port 3389, using either the TCP (6), UDP (17) or ALL (-1) protocol.
Rationaleβ
Public access to remote server administration ports, such as 22 and 3389, increases resource attack surface and unnecessarily raises the risk of resource compromise.
Auditβ
From Consoleβ
Perform the following to determine if the account is configured as prescribed:
Login to the AWS Management Console at https://console.aws.amazon.com/vpc/home.
In the left pane, click
Network ACLs.For each network ACL, perform the following:
- Select the network ACL.
- Click the
Inbound Rulestab.- Ensure no rule exists that has a port range that includes port
22,3389, using the protocols TCP (6), UDP (17) or ALL (-1) or other remote server administration ports for your environment and has aSourceof0.0.0.0/0and showsALLOW.... see more
Remediationβ
Remediationβ
From Consoleβ
Perform the following:
- Login to the AWS Management Console at https://console.aws.amazon.com/vpc/home.
- In the left pane, click
Network ACLs.- For each network ACL to remediate, perform the following:
- Select the network ACL.
- Click the
Inbound Rulestab.- Click
Edit inbound rules.- Either:
- A. update the Source field to a range other than 0.0.0.0/0, or,
- B. Click
Deleteto remove the offending inbound rule.- Click
Save.