Skip to content

In-depth lesson · Subdomain takeover

Root causes

Every point the Subdomain takeover reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 35 of 35
  1. DNS records were left pointing at services after the underlying resource was deleted or cancelled.

    Seen in 27 reports
  2. Third-party services allowed anyone to claim a hostname or custom domain without verifying DNS ownership.

    Seen in 8 reports
  3. DNS records were left pointing at third-party services where the name was never claimed or was released.

    Seen in 5 reports
  4. A DNS record still pointed at a deleted or never-claimed S3 bucket, leaving the bucket name free to register.

    Seen in 3 reports
  5. A dangling CNAME pointed at a deprovisioned Azure cloud service that was never removed from DNS.

    Seen in 3 reports
  6. NS records delegated a subdomain to a name server zone that was no longer registered or controlled.

    Seen in 3 reports
  7. Documentation contained hardcoded links to external domains that were allowed to expire.

    Seen in 3 reports
  8. Session cookies were scoped to the parent domain, so any taken-over subdomain received them.

    Seen in 2 reports
  9. The page update endpoint trusted a client-supplied domain parameter, letting a user bind an arbitrary domain to their page.

    Seen in 2 reports
  10. A Heroku app was deleted without removing its name from documentation or DNS, leaving the name free to claim.

    Seen in 2 reports
  11. A DNS A record pointed at a released cloud IP that had returned to the pool, allowing anyone to allocate it.

    Seen in 2 reports
  12. A DNS record pointed at a third-party service without the matching resource being claimed.

    Seen in 2 reports
  13. A domain registration was not renewed before expiry, leaving it open to purchase or typosquatting.

    Seen in 2 reports
  14. Two features that both allow custom domain claims did not share a check preventing the same domain being claimed twice.

    Seen in 1 report
  15. Domain verification and path registration did not enforce ownership before allowing a domain to be registered.

    Seen in 1 report
  16. A flaw in the human approval process for provisioning content on a subdomain let unclaimed URLs be taken over.

    Seen in 1 report
  17. Servers used a fallback domain for unknown requests, letting attackers serve content on subdomains.

    Seen in 1 report
  18. A page kept loading a script from a third-party domain the organisation no longer controlled, which was then listed for sale.

    Seen in 1 report
  19. A dangling DNS record pointed at an unclaimed GitHub Pages site that anyone could register.

    Seen in 1 report
  20. A DNS record pointed at a Zendesk helpdesk address where no helpdesk was configured.

    Seen in 1 report
  21. NS records pointed at a cloud DNS provider but the hosted zone had been deleted, leaving the zone name free to register.

    Seen in 1 report
  22. A dangling CNAME pointed at a CloudFront distribution that was never registered or had been released.

    Seen in 1 report
  23. The application compared domain names as raw strings without normalising trailing dots.

    Seen in 1 report
  24. A profile link referenced a username that was never registered, leaving it open to being claimed.

    Seen in 1 report
  25. The hosted DNS zone was deleted at the provider while the registrar still listed its nameservers.

    Seen in 1 report
  26. The API added a domain as a custom hostname without checking that the zone was active and verified as belonging to the same account.

    Seen in 1 report
  27. Custom domains were served without ownership verification, with a grace period for unverified domains.

    Seen in 1 report
  28. The DNS record kept pointing at GitHub Pages while domain ownership verification was removed.

    Seen in 1 report
  29. A build script referenced a bucket name the project never registered.

    Seen in 1 report
  30. A bucket referenced in public documentation was left unclaimed.

    Seen in 1 report
  31. The distribution pointed at an S3 bucket name that was not registered.

    Seen in 1 report
  32. A human error created a CNAME pointing to a domain under an unregistered top-level domain.

    Seen in 1 report
  33. A linked GitHub App was abandoned or its ownership was not properly secured.

    Seen in 1 report
  34. A footer link pointed at a social username that no longer exists.

    Seen in 1 report
  35. The Pages project that owned a subdomain was deleted or renamed without removing DNS entries or links.

    Seen in 1 report