Glossary

What is a subdomain takeover?

A subdomain takeover happens when a dangling DNS entry points to a retired external SaaS or cloud resource that an attacker can claim under your trusted domain.

Part of: Free Security Rating

Executive summary

  • A subdomain takeover occurs when a company's DNS record still points to an external cloud or SaaS service that has been deleted or unclaimed.
  • Attackers claim the abandoned cloud resource and serve phishing or malware under the company's trusted domain.
  • Outside-in subdomain monitoring catches dangling DNS records before attackers can register them.

Short definition

Subdomain takeover is a high-severity configuration vulnerability in which an organisation's DNS record (most commonly a CNAME) references an external cloud host or SaaS platform that is no longer provisioned, allowing an unauthorized party to claim that endpoint.

How do subdomain takeovers happen in practice?

Marketing campaigns, support portals, and SaaS trials frequently receive dedicated subdomains such as events.company.com or status.company.com. When the campaign ends or the vendor subscription is cancelled, teams delete the cloud bucket or SaaS account while forgetting to delete the DNS CNAME.

Because DNS still delegates traffic to the third-party host, an attacker who registers that same bucket or SaaS tenant name immediately controls content served on your domain. Continuous outside-in monitoring across public subdomains catches orphaned endpoints early.

Worked examples of subdomain takeover

  • A company cancels a third-party documentation portal but leaves docs.example.com pointing to the vendor's unclaimed cloud host.
  • During vendor offboarding, IT audits all CNAME records against active SaaS contracts before closing the ticket.
  • CyberRank's external assessment scans public subdomains — including forgotten marketing portals and staging hosts — in 10–60 minutes.

Learn more

Frequently asked questions

A subdomain takeover is an attack where a dangling DNS record (such as a CNAME) points to a deprovisioned third-party cloud or SaaS endpoint that an attacker registers in their own account.

Because the hijacked page sits under your official domain, attackers inherit brand trust, valid TLS certificates, and sometimes wildcard session cookies for phishing.

Remove DNS records immediately when offboarding SaaS vendors and monitor public subdomains continuously via outside-in attack surface management.

Related terms

Get your free security rating

Run a free CyberRank security rating for any organisation and see the same vendor risk signals our customers use.