Skip to main content
短.be

Subdomain Takeover

An attack where a third party hijacks a subdomain with orphaned CNAME records, exploiting the trust of the legitimate domain.

Jan 9, 2026 · About 1 min read

Security

Subdomain takeover occurs when a DNS subdomain points to a decommissioned external service (like a cloud platform or CDN), allowing an attacker to claim that service endpoint and serve malicious content under the victim's domain. Vulnerable configurations include CNAME records pointing to unclaimed cloud storage buckets, deleted Heroku apps, or expired CDN distributions. Attackers register the abandoned resource and gain control of content served on the subdomain. URL shortening services using custom domains must guard against subdomain takeover. If a customer cancels their custom short domain but leaves DNS records pointing to the shortener's infrastructure, the service must prevent other users from claiming that domain's namespace. Proper deprovisioning workflows and dangling DNS detection are essential security controls.

Share on XHatena

Was this article helpful?

Related Terms

Related Articles

Ready to create a short URL?

Shorten a URL for Free