Subdomain Takeover Via Insecure CloudFront Distribution cdn.grab.com
Medium
G
Grab
Submitted None
Actions:
Reported by
todayisnew
Vulnerability Details
Technical details and impact analysis
Good day, I truly hope it treats you awesomely on your side of the screen :)
I have found that your website cdn.grab.com is pointed via a cname to a cloudfront instance
cdn.grab.com => *.cloudfront.net
This was not registered on Amazon Aws Cloudfront.
I was able to take over the domain:
See my POC (Pug of Concept)
http://cdn.grab.com/index.html
Options How to fix:
1) Remove the Cname record on cdn.grab.com to not point to cloudfront.net
2) Ask me to remove my registered cdn.grab.com on cloudfront, and you can re register yours :)
May you be well on your side of the screen :)
-Eric
## Impact
Impact:
Cyber attackers can launch a phishing campaign leveraging your established (soon to be impacted) brand reputation.
The victim has no way of telling, whether the content is served by the domain owner or the cyber attacker.
Attackers can also chain higher severity attacks to this. Many applications expose session cookies to a wildcard domain (*.example.com),
so any subdomain can access them. An attacker can take a forgotten subdomain, trick the user to visit it, and extract cookies
(even those with secure flag). This can be seen as an advanced version of XSS.
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Bounty
$1000.00
Submitted
Weakness
Array Index Underflow