Rule ID
SV-289094r1318583_rule
Version
V1R1
CCIs
Unrestricted traffic may contain malicious traffic which poses a threat to an enclave or to other connected networks. Additionally, unrestricted traffic may transit a network, which uses bandwidth and other resources. Access control policies and access control lists (ACLs) implemented on devices that control the flow of network traffic (e.g., application level firewalls and web content filters), ensure the flow of traffic is only allowed from authorized sources to authorized destinations. Networks with different levels of trust (e.g., the internet or CDS) must be kept separate.
Verify the NetScaler Gateway only allows incoming communications from organization-defined authorized sources routed to organization-defined authorized destinations. Note: Simply verifying the existence of an ACL is insufficient. The auditor must review the content of the rules to ensure least privilege is applied and overly permissive rules are absent. Method 1: GUI Verification 1. Log in to the NetScaler GUI. 2. Navigate to System >> Network >> ACLs. 3. Review the rules listed under both the "Simple ACLs" and "Extended ACLs" tabs. 4. Verify that the configured "ALLOW" rules are explicitly restricted to organization-defined authorized source IP subnets and destination ports. 5. Verify the absence of overly permissive rules (e.g., rules allowing "ANY" source to "ANY" destination). Method 2: CLI Verification 1. Log in to the NetScaler CLI. 2. Execute the following command to view all configured IPv4 ACLs (Note: Use "show ns acl6" if IPv6 is in use): show ns acl 3. Review the output. Verify that "Action: ALLOW" rules explicitly define authorized "srcIP" (source) and "destIP" (destination) parameters. 4. Verify that no overly permissive rules exist, and that a default deny stance is enforced for unauthorized traffic. If ACLs are not configured, if "ALLOW" rules are overly permissive (e.g., allowing unauthorized sources), or if a default deny stance is not enforced, this is a finding.
Configure the NetScaler Gateway to only allow incoming communications from organization-defined authorized sources routed to organization-defined authorized destinations using ACLs. Method 1: GUI Configuration 1. Log in to the NetScaler GUI. 2. Navigate to System >> Network >> ACLs. 3. Select the "Extended ACLs" tab and select "Add". 4. Provide an ACL Name and set the "Action" to "ALLOW". 5. Define the specific authorized Source IP/Subnet and the specific Destination IP/Port. Select "Create". 6. Create a subsequent rule with a higher "Priority" number (lower precedence) with the "Action" set to "DENY" to block all remaining unauthorized traffic. 7. Select the newly created rules, select the "Select Action" drop-down, and select "Apply" to commit them to the packet engine. 8. Save the configuration using the floppy disk icon. Method 2: CLI Configuration 1. Log in to the NetScaler CLI. 2. Create an Extended ACL to allow specific authorized traffic: add ns acl <Allow_Rule_Name> ALLOW -srcIP <Authorized_Source_Subnet> -destIP <Destination_IP> -destPort <Port> -protocol TCP -priority 100 3. Create a subsequent ACL to deny unauthorized traffic to that destination: add ns acl <Deny_Rule_Name> DENY -destIP <Destination_IP> -destPort <Port> -protocol TCP -priority 9999 4. Apply the ACLs to the active packet engine: apply ns acls 5. Save the configuration: save ns config