Subdomain takeover can occur when a DNS record—often a CNAME—continues pointing to a cloud or third-party service after that resource has been deprovisioned. If someone else can claim the abandoned resource, they may be able to publish content under the organisation's trusted subdomain. The impact can include phishing, brand abuse and, in some configurations, exposure of cookies or misuse of trusted-origin assumptions. A valid TLS certificate does not prove the organisation still controls the underlying service. Defensive sequence: inventory DNS records and their owners; during decommissioning, redirect or serve a maintenance page if needed, update or remove the DNS record, wait for the TTL and propagation, and only then delete the cloud resource. Add periodic checks for dangling records and clear ownership for every subdomain. Source: OWASP Foundation