> 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/oci-vcn-security-list-has-stateful-security-rules.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# OCI VCN Security list has stateful security rules

### Synopsis

| Field               | Value                                             |
| ------------------- | ------------------------------------------------- |
| Rule Type           | Detection                                         |
| Finding Type        | OCI VCN Security list has stateful security rules |
| Finding ID          | 60000488                                          |
| Generates a Finding | This detection rule also generates a finding      |
| Severity            | Medium                                            |
| Category            | CONFIGURATION                                     |
| Cloud Providers     | OCI                                               |
| Platform Module     | CSPM                                              |
| Asset Types         | OCI\_NETWORKING\_SECURITY\_LIST                   |

### Description

Stateful security rules in OCI Virtual Cloud Networks (VCN) security lists allow inbound traffic only if corresponding outbound traffic has already occurred, increasing the attack surface. This misconfiguration increases the risk of denial-of-service (DoS) attacks.

OCI VCN security lists control network traffic flow. Stateless rules evaluate each packet individually, providing better protection against DoS attacks by not relying on prior connection establishment. Stateful rules, conversely, require a reciprocal outbound connection, making them vulnerable to attacks that flood inbound traffic without triggering a legitimate outbound response. This allows attackers to exhaust resources and disrupt services.

A successful attack exploiting this misconfiguration could lead to significant service disruption, data loss, and potential compromise of the Virtual Cloud Network. Stateless rules provide better protection because they evaluate each packet independently, preventing an attacker from leveraging established connections to overwhelm the network. This is crucial for maintaining service availability and security.

To mitigate this risk, configure all OCI VCN security lists with stateless ingress rules. Regularly review and update security list rules to ensure only necessary traffic is allowed. Prioritize explicit deny-all rules to further enhance security and limit potential attack vectors.

### Remediation

1. Login to the OCI Console
2. Type the resource reported in the alert into the Search box at the top of the Console.
3. Click the resource reported in the alert from the Resources submenu
4. Go to section 'Security rules'.
5. Navigate to Ingress Rules.
6. Click on Ingress rule where Stateless column is set to No
7. Click on Edit
8. Toggle the checkbox to select Stateless
9. Click on Save Changes


---

# 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/oci-vcn-security-list-has-stateful-security-rules.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.
