> 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-default-security-list-of-every-vcn-allows-all-traffic-on-ssh-port-22.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# OCI Default Security List of every VCN allows all traffic on SSH port (22)

### Synopsis

| Field               | Value                                                                      |
| ------------------- | -------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                  |
| Finding Type        | OCI Default Security List of every VCN allows all traffic on SSH port (22) |
| Finding ID          | 60000461                                                                   |
| 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                                            |
| ATT\&CK Tactic      | TA0001 (TA0001)                                                            |
| ATT\&CK Technique   | T1133 (T1133)                                                              |

### Description

Unrestricted ingress access on port 22 for all Virtual Cloud Networks (VCNs) via default security lists presents a significant security risk. This allows unauthorized access to compute instances, potentially leading to data breaches or system compromise.

The OCI default security list controls network traffic for all instances within a VCN. Allowing unrestricted inbound traffic on port 22, used by SSH, bypasses essential security controls. Attackers can exploit this misconfiguration to gain unauthorized access to servers, potentially pivoting to other systems within the network.

The impact of this misconfiguration is severe, enabling attackers to remotely access and control servers without authentication. Restricting access to port 22 is critical for maintaining the confidentiality, integrity, and availability of systems and data. Implementing strong access controls reduces the attack surface and enhances overall security posture.

To mitigate this risk, ensure that all default security lists explicitly deny inbound traffic on port 22, unless explicitly allowed for trusted IP addresses via more restrictive security lists. Regularly review and update security lists, applying the principle of least privilege. Employ strong passwords and multi-factor authentication for all SSH accounts.

### Remediation

**Manual steps:**

OCI Networking Security List - Manual remediation steps:

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. If you want to add a rule, click Add Ingress Rules
7. If you want to delete an existing rule, click the Actions icon (three dots), and then click Remove.
8. If you wanted to edit an existing rule, click the Actions icon (three dots), and then click Edit.


---

# 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-default-security-list-of-every-vcn-allows-all-traffic-on-ssh-port-22.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.
