https://windsor.shopify.com/ takeover
A Shopify subdomain was configured to redirect to an external domain that had expired, allowing the reporter to purchase the domain and control the redirect destination. An attacker could use the trusted shopify.com subdomain to phish users by redirecting them to a malicious site.
- Fixed in 21 hours
- Paid in 8 days
- Disclosed after 8 days
Hi Shopify,
So I was doing some scanning for another client and saw a ton of *.shopify.com appear and thought to myself "Huh? I thought shopify.com hosted shops on myshopify.com.. weird, lets check this out".
An example is this: http://khanbot.shopify.com/password - as you can see it's a store opening soon, but it's on *.shopify.com. However when I try my own store: http://imjusttesting8.shopify.com/password then it will give me the generic, "Did you mean etc etc". Very weird. I tried looking around and playing as much as possible, but I wasn't unable to actually get a *.shopify.com url. (If this is actually possible could you let me know how?)
I found these via this BTW: https://crt.sh/?q=%25.shopify.com (there's quite a few more).
One that caught my eye was windsor.shopify.com. It's set to auto redirect to another domain (aislingofwindsor.com) which had actually expired. I purchased it and now when you visit windsor.shopify.com your redirected to a site I control. (yay for owning a shopify.com sub domain)
PoC: https://windsor.shopify.com/ (can even use https to make it even more 'trustworthy')
An attack idea would be saying to users "New product released by shopify! Increase your sales by using Windsor. Read more: https://windsor.shopify.com" (users will see shopify.com and trust. Plus the fact it's a cool name like 'Windsor', may get users attention).
We could then in theory create a domain similar to shopify and redirect aislingofwindsor.com straight to another domain. Add all the HTTPS stuff to make it look even more real, and we have a pretty good attack surface!
Note: I've done a lot of internal phishing for clients and had a 100% success rate every time, hence why i'm reporting this as I feel this url could be used to easily phish users.
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
Impact
An attacker could use the trusted shopify.com subdomain to redirect users to a malicious site for phishing, potentially tricking users into believing they are on a legitimate Shopify page.
What the attacker needed
Expired external domain; ability to purchase the domain
How it was found
- Scan for *.shopify.com subdomains using certificate transparency logs.
- Identify windsor.shopify.com which redirects to aislingofwindsor.com.
- Notice that aislingofwindsor.com has expired.
- Purchase the expired domain.
- Visit windsor.shopify.com and observe redirection to the controlled site.
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 like windsor.shopify.com is part of the main shopify.com website, so people trust it. This subdomain was set up to automatically send visitors to another website, but that other website's name had expired. The reporter bought the expired name and could then control where visitors to the trusted Shopify subdomain ended up, which could be used to trick people.
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.