# 5.6 Ensure Routing Tables for VPC Peering are "Least Access" (Manual)

- Source: https://support.icompaas.com/support/solutions/articles/62000233114-5-6-ensure-routing-tables-for-vpc-peering-are-least-access-manual-
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [AWS CIS V.4 Level 1 Benchmarks](https://support.icompaas.com/support/solutions/62000112671) › [CIS Control 5](https://support.icompaas.com/support/solutions/folders/62000169192)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

### Profile Applicability:

**Level 2**

## Description:

When establishing VPC Peering, routing tables must be updated to enable connectivity between the peered VPCs. These routes should be as specific as possible, ensuring that only the required subnets or hosts are accessible to minimize exposure.  
  
Rationale:  
Applying "least access" principles to VPC Peering routing tables significantly enhances security by:

-   Restricting access between peered VPCs to only required resources.
    
-   Limiting the impact of a breach by ensuring that unauthorized subnets or hosts remain inaccessible.
    
-   Reducing attack surface by avoiding over-permissive routing.
    

## Impact:

-   Failure to restrict routes may lead to unintended access between VPCs, increasing the risk of lateral movement in the event of a compromise.
    
-   Non-compliant routing can allow unnecessary traffic flow, violating security policies and increasing the risk of data exfiltration.
    

## Default Value:

By default, when VPC Peering is created, no routes are automatically added. Manual configuration is required to define the destination CIDR blocks and determine the scope of peering.

Pre-Requisites:

1.  AWS CLI Installed (for command-line operations).
    
2.  IAM Permissions Required:
    
    -   ec2:DescribeRouteTables (for auditing).
        
    -   ec2:DeleteRoute (for removing non-compliant routes).
        
    -   ec2:CreateRoute (for adding compliant routes).
        
3.  Access to AWS Management Console with permissions to modify VPC route tables.
    
4.  VPC Peering Connections Established before modifying route tables.
    

## Remediation:

### Test Plan:

## Using AWS Console

1.  Sign in to the AWS Management Console.
    
2.  Navigate to the VPC Dashboard: [AWS VPC Console](https://console.aws.amazon.com/vpc/).
    
3.  In the left navigation panel, choose Route Tables.
    
4.  Identify route tables associated with VPC peering connections.
    
5.  Check if the "Destination CIDR Blocks" are overly permissive (e.g., /16 instead of a more specific /24 or /32).
    
6.  Verify if routes grant access to unnecessary subnets or entire VPCs.  
    

## Implementation Steps:  
Using AWS Console

1.  Sign in to the AWS Management Console.
    
2.  Navigate to the VPC Dashboard: [AWS VPC Console](https://console.aws.amazon.com/vpc/).  
    ![](https://support.icompaas.com/assets/kb/a47a8b865fa6b30b.png)  
      
    
3.  In the left navigation panel, select Route Tables.  
      
    ![](https://support.icompaas.com/assets/kb/65b75b6020fec8a0.png)  
      
    
4.  Identify the route table associated with the VPC Peering connection.
    
5.  Click Edit routes and remove unnecessary routes.  
      
    ![](https://support.icompaas.com/assets/kb/66cbd30ade555048.png)
    
6.  Add specific CIDR block routes that are necessary for the intended communication.  
    ![](https://support.icompaas.com/assets/kb/a6a7641a0b5dc3b3.png)
    
7.  Click Save Changes.
    
8.  Repeat for all applicable VPC Peering connections.  
    

## Backout Plan:

If legitimate traffic is blocked:

-   Identify the destination CIDR block that needs to be re-added
-   Restore the original routing table entry:         

aws ec2 create-route --route-table-id <route-table-id> --destination-cidr-block <previously-allowed-cidr> --vpc-peering-connection-id <peering-connection-id

-   Validate connectivity between VPCs.
-   Apply a more specific rule to ensure only required communication is allowed.  
      
    

## References:

-   [AWS VPC Peering Partial Access Guide](https://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/peering-configurations-partial-access.html)
    

## CIS Controls Mapping:

<table style="border:none;border-collapse:collapse;margin-right:calc(20%);width:80%"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody><tr style="height:39.25pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:19.8607%"><p dir="ltr" style="line-height:1.38;text-align:left;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;"><strong>CIS Control Version</strong></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:11.77%"><p dir="ltr" style="line-height:1.38;text-align:left;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;"><strong>Control ID</strong></span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:68.892%"><p dir="ltr" style="line-height:1.38;text-align:left;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;"><strong>Control Description</strong></span></span></span></p></td></tr><tr style="height:39.25pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:19.8607%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:left"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v8</span></span></span></strong></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:11.77%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">13.4</span></span></span></strong></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:68.892%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Perform traffic filtering between network segments where appropriate</span></span></span></strong></p></td></tr><tr style="height:39.25pt"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:19.8607%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">CIS v7</span></span></span></strong></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px;width:11.77%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><strong><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">9.2</span></span></span></strong></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;width:68.892%"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt"><strong><span style="font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span dir="ltr" style="color:rgb(0, 0, 0);font-weight:400">Ensure only approved ports, protocols, and services are running</span></span></strong></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
