In-depth lesson · bug class
Subdomain takeover
What every disclosed Subdomain takeover report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.
- reports cited in this lesson
- 207
- median public bounty
- $500
Learning Subdomain takeover reading list Beginner web, step 8Cloud and infrastructure, step 1
Overview
What it is and why programs pay for it.
Subdomain takeover is what happens when a subdomain of a target still points, through DNS, at a third-party service that nobody at the target controls any more. The record survives but the resource behind it does not, so anyone who can register that resource name can serve their own content on the target's subdomain. The evidence covers dangling records to object storage buckets, CDN and cloud app endpoints, hosted blogging and helpdesk platforms, page builders, package hosting and name server zones, among others. Programs care because the hostname carries the target's brand and often its trust: a page served there looks legitimate to users, customers and automated systems.
What it usually leads to depends on where the subdomain sits. The most common outcome is content injection on a trusted host, which can be used for phishing or for serving files that others download. More serious cases arise when the subdomain is inside a trust boundary: cookies scoped to the parent domain can leak to it, OAuth redirect whitelists and CORS origins that include it can be abused, and a taken-over host can act as an open redirect. Some reports show escalation to reading authenticated data or to account takeover flows, and some show denial of service by breaking an expected flow.
It turns up most often where teams move quickly and leave things behind: media and CDN subdomains, cloud app and traffic manager endpoints, blog and documentation subdomains, helpdesk addresses, and names mentioned in public docs or repositories. It is also common on features that let users attach custom domains, such as portfolios, on-demand pages and storefronts, and on domains belonging to acquired companies or products where ownership of the DNS estate is less clear.
The database behind this lesson holds 224 reports, 108 with a summary and 59 paid, so a good share of submissions did not result in a reward. That is a useful signal for a beginner: finding a dangling record is only the start, and the reports that counted were the ones that showed real control and a concrete consequence.
Seen in these reports13
-
-
High -
$3,000
Show 5 moreShow fewer
-
$3,000
-
$500 Medium -
High -
Critical -
How it works
The mechanics, as the reports show them.
The mechanism starts with a DNS record. A subdomain is given a CNAME pointing at a third-party hostname, or an A record pointing at a cloud IP, or NS records delegating it to a name server zone. At the time it is set up, the third-party resource exists and serves the intended content. The record is the only thing tying the target's name to that resource.
Later the resource goes away. A bucket is deleted, a cloud app is deprovisioned, a Heroku app is removed, a helpdesk is closed, a hosted zone is deleted at the provider, an elastic IP is released back to the pool, or a domain registration is allowed to expire. The DNS record is not cleaned up, so it now points at a name or address that is free.
The second ingredient is that the third-party service lets someone claim that name without proving they control the DNS. Many platforms attach a custom domain on request, or let a new account register a name that was previously used, or allow a hostname to be added before ownership is verified. Where the name is a bucket or an app name, the claim is simply registering it. Where it is a custom domain on a platform, the claim is adding it to a new account.
Once claimed, the attacker's content is served whenever the target's subdomain is requested, because the DNS record still sends traffic there. The evidence shows this confirmed in several ways: a test page served from a claimed bucket with static hosting enabled, a bucket created in a different region still taking control of the subdomain, and a custom domain added to a pages project without verification. The hostname in the browser is the target's, so the content inherits its trust.
The impact then depends on context. If the subdomain is a CORS origin or an OAuth redirect target, the claim can bypass those controls. If session cookies are scoped to the parent domain, they are sent to the taken-over host. If the subdomain is used to distribute installers, keyrings or package files, files served under expected names get downloaded by anyone running the build or install. If the record is an NS delegation to a deleted zone, control extends to every record under the domain, including mail.
There are variations that make the same weakness harder to spot. A trailing dot on a hostname can change routing or slip past a string comparison during domain verification. A wildcard domain added for the parent can cover a specific subdomain that could not be added directly. A fallback domain used for unknown requests can serve content on subdomains. A fix for one claim path can be bypassed by changing the endpoint or adding a parameter. These are all recorded as ways the underlying mistake resurfaced after an initial fix.
Seen in these reports23
-
$500 Medium -
$250 Medium -
Medium
Show 5 moreShow fewer
-
Low -
$3,100 Medium -
$1,125 Medium -
$1,000 High -
$500 Info
Year by year
1 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2014 | 2 |
|---|---|
| 2015 | 4 |
| 2016 | 26 |
| 2017 | 47 |
| 2018 | 25 |
| 2019 | 23 |
| 2020 | 25 |
| 2021 | 36 |
| 2022 | 36 |
| 2023 | 25 |
| 2024 | 54 |
| 2025 | 61 |
| 2026 | 33 |
-
2024
New this year4
- GitLab Pages custom domains without ownership verification first appear clearly in the disclosed reports.
- Subdomains CNAMEd to unclaimed Netlify apps and CNAMEs pointing at ELB hostnames whose parent domain is unregistered appear in the disclosed reports.
- Inbound email subdomains CNAMEd to a mail provider that no longer reserves the name appear as a takeover target in the disclosed reports.
Kept working3
- Visiting a subdomain that CNAMEs to an external service and looking for a Not Found or unknown domain error showed the name was unclaimed in the disclosed reports.
- Searching documentation pages for links to external domains and checking whether any had expired and could be bought worked in the disclosed reports.
Turned up less4
- Object storage bucket takeovers, common in earlier years, are rarer in the 2024 reports, which show only one AWS related case.
- Azure cloud service and traffic manager takeovers, frequent in earlier years, do not feature in the 2024 reports.
Where it is found
67The features and places the reports found it in, most-reported first.
-
Subdomains with DNS records pointing at S3 buckets, including buckets that no longer exist.
Seen in 9 reports
-
Media and CDN subdomains fronted by object storage or CDN services.
Seen in 6 reports
-
Cloud app and traffic manager endpoints at the end of a CNAME chain.
Seen in 6 reports
-
Blog subdomains pointed at hosted blogging platforms.
Seen in 5 reports
-
Heroku app names mentioned in public docs or pointed at by CNAMEs, including expired app names.
Seen in 5 reports
Technologies in these reports16
Root causes
35The mistakes in the code or configuration behind the reports.
-
DNS records were left pointing at services after the underlying resource was deleted or cancelled.
Seen in 27 reports
-
Third-party services allowed anyone to claim a hostname or custom domain without verifying DNS ownership.
Seen in 8 reports
-
DNS records were left pointing at third-party services where the name was never claimed or was released.
Seen in 5 reports
-
A DNS record still pointed at a deleted or never-claimed S3 bucket, leaving the bucket name free to register.
Seen in 3 reports
-
A dangling CNAME pointed at a deprovisioned Azure cloud service that was never removed from DNS.
Seen in 3 reports
Things to try
The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.
ticked in this lesson
Cloud app and PaaS hostnames
of 3 ticked-
Seen in 6 reports
-
Seen in 3 reports
-
Seen in 3 reports
CDN and edge distributions
of 3 ticked-
Seen in 4 reports
-
Seen in 3 reports
Object storage buckets
of 3 ticked-
Seen in 9 reports
-
Seen in 5 reports
-
Seen in 4 reports
Subdomain enumeration and recon
of 3 ticked-
Seen in 4 reports
-
Seen in 4 reports
-
Seen in 3 reports
Bypasses and variations
16How reports got past filters, encoders and other defences.
-
A claimed subdomain can bypass OAuth whitelists and CORS protections.
Seen in 3 reports
-
Serving files under expected names from a claimed bucket gets them downloaded by anyone running the build or install.
-
A previous fix for a subdomain takeover was bypassed by adding a domain parameter to the page-editing request body.
Seen in 1 report
-
A later fix was bypassed by changing the endpoint path and adding a page URL parameter with the target subdomain.
Seen in 1 report
-
When the specific subdomain could not be added, adding the wildcard domain for the parent succeeded and covered the subdomain.
Payouts
60 paidPublic bounties in US dollars, from the data. 60 of 491 reports show an amount.
- a quarter paid up to
- $288
- median
- $500
- three quarters paid up to
- $1,000
- highest
- $10k
One in ten paid reports was paid $3,000 or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 37 | 0 | None paid | None |
| High | 51 | 2 | $550 | $1,000 |
| Medium | 77 | 13 | $500 | $3,100 |
| Low | 50 | 7 | $200 | $500 |
| Informational | 10 | 1 | $500 | $500 |
| Unrated | 266 | 37 | $500 | $10k |
Highest-paid reports5
-
$10,000 -
$5,000
-
$4,500 -
$4,500
-
$3,100 Medium
Typical fixes
11How programs fixed it, as the reports describe.
-
Remove DNS records when the service or resource they point at is decommissioned, deleted or deprovisioned.
Seen in 26 reports
-
Require proof of DNS ownership before a third-party service attaches a custom domain.
Seen in 5 reports
-
Remove or update links to expired domains in documentation and handbooks.
Seen in 3 reports
-
Scope session cookies to the specific host rather than the parent domain.
-
Validate the domain parameter server-side against domains the account actually owns.
Seen in 2 reports
Tips for beginners
13Advice for a first hunt, drawn from the reports.
-
Look beyond the obvious cloud services. The evidence includes helpdesk addresses, hosted blogging platforms, page builders, uptime monitors, feedback and idea services, podcast hosting, documentation sites and mail provider records. A beginner who only checks buckets will miss most of the surface.
Seen in 5 reports
-
Think about what the subdomain is trusted for. Check whether it is inside an OAuth redirect whitelist, a CORS origin list, a cookie scope, or a distribution path for installers and package files. A takeover on a plain marketing host is weaker than one that sits in a trust boundary, and the difference is what makes the report worth submitting.
Seen in 4 reports
-
Search public material for names the target no longer controls: documentation, handbooks, repositories, build scripts, mobile app source and third-party profiles. Expired domains and unclaimed app names referenced there are common, and the fix is often just removing the link, which is why they persist.
Seen in 4 reports
-
Watch for verification bypasses. Try the same domain with a trailing dot, or add the wildcard for the parent when the specific subdomain is refused, or check whether a grace period lets an unverified domain be served. These are documented variations and are worth testing once you have a candidate.
Seen in 4 reports
-
Start with reconnaissance at scale rather than a single host. Enumerate the target's subdomains with passive and active sources, then follow each result's CNAME chain and check the A records. The reports that found takeovers mostly came from systematic enumeration and then testing each candidate, not from guessing one name.
Seen in 3 reports
Guides and techniques
View allThe best explainers, cheat sheets and technique posts on Subdomain takeover, from around the web.
-
Hunting down subdomain takeover vulnerabilitiesExplains how to spot and confirm subdomain takeovers, automate detection and escalate them into token leaks, CSRF, CORS and CSP bypasses.
Methodology intigriti.com
-
Subdomain Takeover Bugs When Theyre Applicable And When Theyre NotClarifies when dangling DNS records genuinely allow subdomain takeover and when reports are invalid, reducing false positives.
Explainer immunefi.com
-
Dead Domain Discovery: Discover Expired or Unregistered DomainsPresents a tool for finding expired or unregistered domains that could enable subdomain takeover and related attacks.
security.lauritz-holtmann.de
-
Why Your Subdomain Takeover Reports Keep Getting Closed as N/A (AExplains why subdomain takeover submissions are often rejected and how to strengthen evidence before reporting.
Methodology medium.com
-
Certificate Transparency Hunting: The Goldmine No One Talks AboutShows how to mine certificate transparency logs to discover forgotten subdomains and expand recon scope.
Methodology javascript.plainenglish.io
Keep learning
Where this lesson fits, and what to read next.
Learning paths
Lessons on single techniques in Subdomain takeover
Lessons to read next
How this is made: our model read every listed Subdomain takeover report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 26 Nov 2026 from 224 reports. All Subdomain takeover reports.