Skip to content

In-depth lesson · Subdomain takeover

Typical fixes

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 11 of 11
  1. Remove DNS records when the service or resource they point at is decommissioned, deleted or deprovisioned.

    Seen in 26 reports
  2. Require proof of DNS ownership before a third-party service attaches a custom domain.

    Seen in 5 reports
  3. Remove or update links to expired domains in documentation and handbooks.

    Seen in 3 reports
  4. Scope session cookies to the specific host rather than the parent domain.

    Seen in 2 reports
  5. Validate the domain parameter server-side against domains the account actually owns.

    Seen in 2 reports
  6. Share the domain-claimed check between all features that allow custom domain claims.

    Seen in 1 report
  7. Verify domain ownership before serving content for custom domains and remove the grace period for unverified domains.

    Seen in 1 report
  8. Check that the zone is active and verified as belonging to the same account before adding a custom hostname.

    Seen in 1 report
  9. Keep domain ownership verification active while the DNS record still points at the hosting service.

    Seen in 1 report
  10. Update footer links when a social username is released.

    Seen in 1 report
  11. Remove DNS entries and links when a Pages project is deleted or renamed.

    Seen in 1 report