4o4 not found* == bounty?!
A subdomain had a dangling CNAME record pointing to a third-party email service, allowing the researcher to register that subdomain on the service. The researcher could not fully demonstrate control because they lacked DNS access to the parent domain.
medium.com
Published on medium.com
Whitedevil aka Sanket here, returning after a long break with another exciting discovery “SubdomainTakover” which occurs when there is a misconfigured DNS record. This bug might seem familiar, but stick with me till the end — you might uncover some overlooked insights or hidden resources.
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 dangling CNAME record that still pointed to a third-party service the organisation no longer controlled.
Impact
An attacker could potentially claim the subdomain and host malicious content or intercept email, but the researcher could not fully demonstrate this without DNS control.
What the attacker needed
A free account on the third-party service; the subdomain's CNAME still points to the service
The fix
The dangling CNAME record should be removed or the subdomain should be reclaimed on the third-party service.
How it was found
- Enumerate subdomains and collect URLs, looking for 4xx and 5xx responses.
- Identify a 404 subdomain that looked like an email subdomain.
- Use the dig tool and Google Admin Toolbox to check the CNAME record.
- Find that the CNAME still pointed to a third-party email service.
- Create an account on that service and register the same subdomain.
- Attempt to host a test file or route emails, but fail due to lack of DNS control.
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 CNAME record is like a forwarding address in the internet's phonebook: it points one domain name to another. If the second domain is no longer owned by the original organisation, someone else can claim it and take over the first subdomain. Here, the researcher could register the subdomain on the third-party service but could not fully prove control without changing DNS settings.
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.