Skip to content
Subdomain takeover Write-up Beginner

Subdomain takeover - MaxCDN

A subdomain of MaxCDN had a dangling CNAME record pointing to a third-party service (Tune) that was no longer in use. An attacker could register with that service and claim the subdomain, allowing them to host malicious content or phishing pages.

Tutorgeeks Follow

Published on tutorgeeks.blogspot.com

The original lives on tutorgeeks.blogspot.com

We do not hold its text, 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

Impact

An attacker could host a fake login page to steal credentials, serve malicious scripts to visitors, or deface the site, damaging the company's reputation.

What the attacker needed

Dangling CNAME record; third-party service allows claiming subdomains

The fix

The issue was fixed by removing the dangling CNAME record.

How it was found

  1. Find subdomains using tools like Sublist3r, Knockpy, or Google dorks.
  2. Identify a subdomain that points to a third-party service via a CNAME record.
  3. Check if the third-party account associated with that subdomain is inactive or unclaimed.
  4. Create an account with the third-party service and claim the subdomain.

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 like a separate section of a website, such as blog.example.com. A CNAME record is a DNS setting that points that subdomain to another service. If the company stops using that service but leaves the CNAME record, anyone who signs up for the same service can take control of the subdomain.

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 Tutorgeeks

View all

8 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.