> 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-sns-topic-with-cross-account-access.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS SNS topic with cross-account access

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS SNS topic with cross-account access      |
| Finding ID          | 60000557                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Medium                                       |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | SNS\_TOPIC\_ATTRIBUTES                       |

### Description

AWS Simple Notification Service (SNS) topics configured with cross-account access represent a significant security risk. Untrusted entities could gain unauthorized access to sensitive data transmitted via these topics.

SNS topics facilitate communication between different AWS accounts. However, insecure cross-account access configurations allow any account to subscribe and receive messages, potentially leading to data breaches or unauthorized actions based on the information disseminated. This misconfiguration circumvents access controls and exposes sensitive data to malicious actors.

The impact of this misconfiguration includes data leakage, unauthorized access to sensitive information, and potential disruption of services. Maintaining strict control over who can access SNS topics is crucial for data confidentiality and integrity. Restricting access to only trusted entities minimizes the attack surface and protects sensitive data.

To mitigate this risk, explicitly define access policies for each SNS topic, granting access only to specific, trusted AWS accounts or users. Regularly review and update these policies to ensure they align with your security posture. Employ least privilege principles, granting only the necessary permissions to each entity. Monitor access logs to detect any suspicious activity.

### Remediation

1. Log in to the AWS Console
2. In the console, select the specific region from the region drop-down on the top right corner, for which the alert is generated.
3. Navigate to the 'Simple Notification Service' dashboard
4. Go to 'Topics', from the left panel
5. Select the reported SNS topic
6. Click on the 'Edit' button from the top options bar
7. On the edit page go to the 'Access Policy - optional' section
8. In the Access Policy section, verify all ARN values in 'Principal' elements are from trusted entities; If not remove those ARN from the entry.
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/aws-sns-topic-with-cross-account-access.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.
