> 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-policy-overly-permissive-for-subscription.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS SNS topic policy overly permissive for subscription

### Synopsis

| Field               | Value                                                   |
| ------------------- | ------------------------------------------------------- |
| Rule Type           | Detection                                               |
| Finding Type        | AWS SNS topic policy overly permissive for subscription |
| Finding ID          | 60000544                                                |
| Generates a Finding | This detection rule also generates a finding            |
| Severity            | Low                                                     |
| Category            | CONFIGURATION                                           |
| Cloud Providers     | AWS                                                     |
| Platform Module     | CSPM                                                    |
| Asset Types         | SNS\_TOPIC\_ATTRIBUTES                                  |

### Description

Overly permissive AWS Simple Notification Service (SNS) topic policies enable unauthorized subscription to SNS topics, leading to data breaches. SNS topics facilitate message distribution; misconfiguration allowing any principal to subscribe exposes sensitive data within those messages to attackers. Untrusted entities can gain access, potentially compromising sensitive information.

The service allows granular control over subscriptions using policies. Failing to restrict subscriptions to only authorized principals creates a significant security risk. Attackers could subscribe to topics, intercepting sensitive data transmitted via SNS. This compromises data confidentiality and integrity.

The impact of this misconfiguration includes unauthorized access to sensitive data transmitted through the SNS topic. This could lead to data breaches, regulatory non-compliance, and reputational damage. Implementing least privilege ensures only authorized entities can access sensitive information.

Mitigate this risk by meticulously reviewing and restricting SNS topic policies. Ensure only explicitly trusted principals, identified by ARN (Amazon Resource Name), are granted 'Subscribe' permission. Regularly audit topic policies to identify and rectify overly permissive configurations. Employ the principle of least privilege to minimize the attack surface.

### 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. Add the restrictive 'Condition' statement to the JSON editor to specify who can subscribe to this topic.
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-policy-overly-permissive-for-subscription.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.
