Subdomain takeover of fr1.vpn.zomans.com
The subdomain fr1.vpn.zomans.com pointed to an AWS EC2 IP address that was no longer in use, allowing the researcher to claim that IP and serve content on the domain. This could enable phishing, OAuth bypass, or cookie theft if the domain was trusted.
- Triaged in under an hour
- Fixed in 26 hours
- Paid in 26 hours
- Disclosed after 4 months
Summary
fr1.vpn.zomans.com points to an AWS EC2 instance at 52.47.57.107 that no longer exists. I was able to take control of this IP address and run my own EC2 instance. I can now serve content on this domain, obtain a TLS certificate for this domain, etc.
If any customers or servers are pointing to anything within this domain, I could serve them arbitrary/malicious content. I could also use this in case your domain whitelists your own domain for OAuth, or if there are cookies scoped to the entire domain. Usually this can have a high impact.
Since the risk of employee phishing here is pretty high, along with the risk of existing clients connecting to this server, I think it qualifies as a High per your policy:
Subdomain Takeover - on a domain that sees heavy traffic or would be a convincing candidate for a phishing attack
PoC
% dig +short fr1.vpn.zomans.com
52.47.57.107
% curl fr1.vpn.zomans.com
<!-- hackerone.com/ian -->
Impact
Subdomain takeover
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 the DNS record for the subdomain was not removed after the associated EC2 instance was terminated, leaving it pointing to an IP address that could be reallocated.
Impact
An attacker could serve arbitrary or malicious content to users or servers that trust the domain, potentially leading to phishing, OAuth bypass, or cookie theft.
What the attacker needed
DNS record points to unclaimed IP; Attacker can claim that IP
How it was found
- Resolve the subdomain to its IP address.
- Check that the IP address no longer hosts the original service.
- Take control of the IP address by launching a new EC2 instance with that IP.
- Serve content on the subdomain to demonstrate 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 report has not been written yet. The Original tab links to the source.
A subdomain takeover happens when a website's subdomain points to an external service that is no longer controlled by the owner. An attacker can claim that service and put their own content on the subdomain, tricking users or bypassing security checks.
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.