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.
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
- Find subdomains using tools like Sublist3r, Knockpy, or Google dorks.
- Identify a subdomain that points to a third-party service via a CNAME record.
- Check if the third-party account associated with that subdomain is inactive or unclaimed.
- 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.