Subdomain takeover ██████
A subdomain's CNAME record pointed to an AWS ELB hostname whose parent domain was available for registration. An attacker could register that domain and host malicious content under the victim's subdomain.
- Triaged in 5 hours
- Fixed in 39 days
- Disclosed after 42 days
The subdomain █████ is pointing to open-elb-prod-277276106.us-east-1.elb-amazonaws.com., the domain elb-amazonaws.com was available for registration
Impact
Using this vulnerability an attacker can:
- host unwanted/malicious content under your domain
- receive email on subdomains mentioned above
- effectively execute cross-site scripting attacks
- in some cases, steal cookie data
- in some cases, trick password managers into filling in passwords
System Host(s)
█████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Visit http://████████/proof.e7437329-ab61-4f22-a049-df5b3685313a.txt
Suggested Mitigation/Remediation Actions
Remove CNAME record █████
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a dangling CNAME record pointing at an AWS ELB hostname under a parent domain that was not registered, allowing anyone to claim it.
Impact
An attacker could host unwanted or malicious content under the domain, receive email on the subdomain, and in some cases run cross-site scripting, steal cookie data, or trick password managers.
What the attacker needed
Register the dangling parent domain
The fix
The CNAME record should be removed.
How it was found
- Visit the proof URL on the affected subdomain to see the hosted file.
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 report has not been written yet. The Original tab links to the source.
A subdomain is a name like shop.example.com. A CNAME record is a DNS entry that says 'this name is really another name'. Here the other name belonged to a domain anyone could buy, so whoever bought it would control what the subdomain shows.
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.