HexBrain

Palo Alto Software · Report #1179193

Subdomain takeover of www2.growasyouplan.com

Validstatus
mediumseverity
15upvotes
29 May 2021disclosed

How it was found

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

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original