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

# Azure DNS Zone having dangling DNS Record vulnerable to subdomain takeover associated with Web...

### Synopsis

| Field               | Value                                                                                                      |
| ------------------- | ---------------------------------------------------------------------------------------------------------- |
| Rule Name           | Azure DNS Zone having dangling DNS Record vulnerable to subdomain takeover associated with Web App Service |
| Rule Type           | Detection                                                                                                  |
| Finding Type        | Azure DNS Zone having dangling DNS Record vulnerable to subdomain takeover associated with Web App Service |
| Finding ID          | 60001431                                                                                                   |
| Generates a Finding | This detection rule also generates a finding                                                               |
| Severity            | High                                                                                                       |
| Category            | CONFIGURATION                                                                                              |
| Cloud Providers     | AZURE                                                                                                      |
| Platform Module     | CSPM                                                                                                       |
| Asset Types         | AZURE\_DNS\_RECORDSETS                                                                                     |
| ATT\&CK Tactic      | TA0001 (TA0001)                                                                                            |
| ATT\&CK Technique   | T1190 (T1190)                                                                                              |

### Description

Dangling DNS records in Azure DNS zones associated with deleted Azure Web App Services pose a significant subdomain takeover risk. These records point to non-existent resources, leaving subdomains vulnerable to malicious registration by attackers.

Azure DNS zones manage domain name resolution for Azure resources, including Web App Services. Improper management of DNS records, specifically failing to remove records for deleted Web App Services, creates a misconfiguration. Attackers can exploit this by registering a new Web App Service with the same name, redirecting traffic to malicious content and potentially compromising user credentials or data.

The impact of this misconfiguration includes phishing attacks, data breaches, brand damage, and disruption of services. Maintaining accurate DNS records ensures proper domain name resolution and prevents unauthorized resource registration. Deleting dangling DNS records eliminates the possibility of subdomain takeover.

To mitigate this risk, regularly audit Azure DNS zones for records pointing to non-existent Web App Services. Promptly delete or update any dangling records. Implement automated processes to detect and remediate these misconfigurations. Regularly review and update your DNS records to reflect the current state of your Azure resources.

### Remediation

**Manual steps:**

Azure DNS Recordsets - Manual remediation steps:

1. Log in to the Azure Portal and search for 'DNS zones'
2. Select 'DNS zones' from the search results
3. Select the DNS zone associated with the reported DNS record
4. On the left-hand menu, under 'DNS Management,' select 'Recordsets'
5. Locate and select the reported DNS record
6. Update or remove the DNS Record if no longer necessary


---

# 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/azure-dns-zone-having-dangling-dns-record-vulnerable-to-subdomain-takeover-associated-with-web.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.
