Skip to content
Subdomain takeover Write-up Intermediate

Subdomain Takeover: Going for High Impact

The text describes the general problem of subdomain takeover, where a dangling DNS record points to a cloud service that no longer claims the hostname, allowing an attacker to register that hostname and serve content under the victim's domain. It notes that cloud providers have begun adding mitigations, making new cases harder to find.

Patrik Hudak Follow

Published on 0xpatrik.com

When I and other guys in the web application security started posting stuff around subdomain takeover, it has become increasingly hard to find new cases in the public bug bounty programs. There was more competition than ever, but also, cloud providers such as AWS or Heroku started to implement mitigations to prevent…

Patrik Hudak, on 0xpatrik.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a DNS record was left pointing at a third-party cloud service after the service was deprovisioned, so the hostname became claimable by anyone.

What the attacker needed

Dangling DNS record to a cloud service

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A subdomain is a name like shop.example.com that belongs to a company's main domain. If that name still points to an outside service the company stopped using, anyone who signs up for that service can claim the name and put their own pages there. Visitors would see the company's real domain, so they might trust the attacker's content.

What is Subdomain takeover?

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.

More by Patrik Hudak

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.