> 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-file-storage-file-system-access-is-not-restricted-to-root-users.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# OCI File Storage File System access is not restricted to root users

### Synopsis

| Field               | Value                                                               |
| ------------------- | ------------------------------------------------------------------- |
| Rule Type           | Detection                                                           |
| Finding Type        | OCI File Storage File System access is not restricted to root users |
| Finding ID          | 60000484                                                            |
| Generates a Finding | This detection rule also generates a finding                        |
| Severity            | Medium                                                              |
| Category            | CONFIGURATION                                                       |
| Cloud Providers     | OCI                                                                 |
| Platform Module     | CSPM                                                                |
| Asset Types         | OCI\_FILE\_STORAGE\_EXPORT                                          |

### Description

Unrestricted access to Oracle Cloud Infrastructure (OCI) File Storage File Systems by root users presents a significant security risk. Root users possessing excessive privileges can potentially compromise sensitive data and disrupt operations.

OCI File Storage File Systems offer granular access control mechanisms. However, if these settings are not properly configured, root users may enjoy unrestricted access, enabling them to read, write, delete, or modify any file within the system. This misconfiguration exposes the entire File System to unauthorized actions, potentially leading to data breaches, ransomware attacks, or service disruption.

The impact of this misconfiguration could be severe, ranging from data loss and corruption to complete system compromise. Maintaining restricted access for root users is crucial to uphold data integrity, confidentiality, and system availability. Limiting root access reduces the potential blast radius of a compromised account.

To mitigate this risk, enforce strict access control policies for OCI File Storage File Systems. Regularly review and audit user permissions, ensuring that only authorized users with necessary privileges can access specific file systems. Implement least privilege principles, granting only the minimum necessary access rights to each user or group. Furthermore, monitor access logs for suspicious activities.

### Remediation

1. Log in to the OCI Console.
2. In the global search bar at the top of the page, enter the name of the File System from the alert and click on it in the results.
3. On the File System's details page, in the 'Resources' menu on the left, click 'Exports'.
4. In the list of exports, click on the export path identified in the alert.
5. Click on 'Edit options' under 'NFS client Export options'
6. In the 'Edit Options' dialog, change the 'Squash' value for that entry to 'ROOT' and ensure that 'Squash UID' and 'Squash GID' are set to 65534.
7. Click 'Update'.


---

# 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-file-storage-file-system-access-is-not-restricted-to-root-users.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.
