Subdomain takeover of www2.growasyouplan.com
The subdomain www2.growasyouplan.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 serving malicious content, obtaining TLS certificates, and abusing domain-scoped cookies or OAuth whitelists.
- Triaged in under an hour
- Fixed in 20 hours
- Disclosed after 31 days
Summary
www2.growasyouplan.com points to an AWS EC2 instance at 67.202.62.93 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.
Proof of scope
growasyouplan.com is owned by the same company as paloalto.com.
% whois growasyouplan.com | grep Org
Registrant Organization: Palo Alto Software, Inc.
PoC
% dig +short www2.growasyouplan.com
67.202.62.93
% curl www2.growasyouplan.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 pointed to an IP address that was no longer allocated to the organisation, allowing anyone to claim it.
Impact
An attacker could serve arbitrary or malicious content on the subdomain, obtain TLS certificates, and potentially abuse domain-scoped cookies or OAuth whitelists.
What the attacker needed
DNS record points to an unclaimed IP; Attacker can claim that IP
How it was found
- Resolve the subdomain to its IP address.
- Check that the IP address is no longer in use.
- Claim the IP address by launching an EC2 instance with that IP.
- Serve content on 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 report has not been written yet. The Original tab links to the source.
A subdomain takeover happens when a website's subdomain points to a service that is no longer controlled by the owner. An attacker can claim that service and then control what appears on the subdomain, which can be used to trick users or bypass 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.