> 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-route53-hosted-zone-having-dangling-dns-record-with-route53-hosted-zone-7a6582fb.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Route53 Hosted Zone having dangling DNS record with... (Route53 Hosted Zone) (7a6582fb)

### Synopsis

| Field               | Value                                                                                                         |
| ------------------- | ------------------------------------------------------------------------------------------------------------- |
| Rule Name           | AWS Route53 Hosted Zone having dangling DNS record with subdomain takeover risk associated with AWS S3 Bucket |
| Rule Type           | Detection                                                                                                     |
| Finding Type        | AWS Route53 Hosted Zone having dangling DNS record with subdomain takeover risk associated with AWS S3 Bucket |
| Finding ID          | 60000800                                                                                                      |
| Generates a Finding | This detection rule also generates a finding                                                                  |
| Severity            | High                                                                                                          |
| Category            | CONFIGURATION                                                                                                 |
| Cloud Providers     | AWS                                                                                                           |
| Platform Module     | CSPM                                                                                                          |
| Asset Types         | ROUTE53\_HOSTED\_ZONE                                                                                         |

### Description

Dangling DNS records in AWS Route53 Hosted Zones, pointing to non-existent S3 buckets, create a subdomain takeover risk. An attacker could register a new S3 bucket with the same name, redirecting traffic and potentially compromising user data.

The misconfiguration involves a CNAME record in Route53 that references a deleted or non-existent S3 bucket. This allows attackers to create an S3 bucket with the same name, effectively taking control of the subdomain. This can lead to phishing attacks, malware distribution, and data breaches.

Impact includes reputational damage, financial losses, and legal liabilities. Maintaining accurate DNS records prevents attackers from exploiting this vulnerability. Deleting dangling DNS entries ensures only valid resources are accessible.

To mitigate this, regularly review Route53 Hosted Zones for CNAME records pointing to S3 buckets. Verify the existence of each referenced bucket. Delete any CNAME records associated with non-existent buckets. Implement automated checks to proactively identify and remove dangling DNS entries.

### Remediation

Identify DNS record entry pointing to a non-existing S3 bucket resource.

To remove DNS record entry, follow steps given in following URL: <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-deleting.html>


---

# 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-route53-hosted-zone-having-dangling-dns-record-with-route53-hosted-zone-7a6582fb.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.
