Subdomain Takeover on mailgun[.]org
A subdomain of mailgun.org pointed to Mailgun but was not claimed by any account, so an attacker could register it in their own Mailgun account. The author confirmed this by adding the subdomain to a new Mailgun account and then showing a second account could not add it.
medium.com
Published on medium.com
Free article read here
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
Impact
An attacker could claim the subdomain and control content served under it, which could be used for phishing or other abuse, though the text does not describe any specific exploitation beyond the takeover itself.
What the attacker needed
A free Mailgun account; the target subdomain must be unclaimed on Mailgun
How it was found
- Gather subdomains with SubDomz and Subfinder.
- Run Subzy to flag potentially vulnerable subdomains.
- Use dig to check where the subdomain points.
- Run a basic HTTP check with curl to see the response.
- Sign up for Mailgun and add the subdomain to confirm it can be claimed.
- Create a second Mailgun account and try to add the same subdomain to confirm it is already claimed.
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 mail.example.com that belongs to a larger domain. If that name still points to an outside service but nobody has claimed it there, anyone who signs up for that service can claim the name and control what it shows. This is called a subdomain takeover.
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.