> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-vpc-allows-unauthorized-peering.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS VPC allows unauthorized peering

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS VPC allows unauthorized peering          |
| Finding ID          | 60000214                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | EC2\_VPC\_PEERING\_CONNECTION                |
| ATT\&CK Tactic      | TA0004 (TA0004)                              |
| ATT\&CK Technique   | T1078.004 (T1078.004)                        |

### Description

Unauthorized VPC peering connections expose an organization's AWS resources to potential attacks. This misconfiguration allows communication between VPCs from different accounts without proper authorization, bypassing security controls and potentially leading to data breaches or lateral movement within the cloud environment.

AWS VPC peering establishes a connection between two Virtual Private Clouds (VPCs). When peering is enabled between VPCs belonging to different AWS accounts without sufficient security controls, it creates a direct path for unauthorized access to resources in the peered VPCs. Attackers could exploit this to gain access to sensitive data or compromise critical systems.

The impact of this misconfiguration is significant. Compromised resources could lead to data exfiltration, service disruption, or complete system takeover. Following best practices ensures that all VPC peering connections are explicitly authorized and monitored, minimizing the risk of unauthorized access.

To mitigate this risk, enforce strict controls on VPC peering requests. Only allow peering between VPCs within the same AWS account or those explicitly approved and carefully vetted. Regularly review existing peering connections and remove any that are no longer necessary. Implement robust monitoring and alerting to detect unauthorized peering attempts promptly.

### Remediation

**Manual steps:**

EC2 VPC Peering Connection - Manual remediation steps:

1. Sign in to the AWS Console
2. Go to AWS VPC console at <https://console.aws.amazon.com/vpc/>
3. In the left navigation panel, select Peering Connection
4. Choose the reported Peering Connection
5. Click on Actions and select 'Delete VPC Peering Connection'
6. click on Yes, Delete


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-vpc-allows-unauthorized-peering.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
