Skip to content
Subdomain takeover Write-up Beginner

How I Was Able To Takeover 3 Shopify Subdomains Of An Organization

Three subdomains of an organisation were left pointing to Shopify but were unclaimed, allowing anyone to register them in a Shopify account. The author claimed all three and redirected two to a site they controlled.

Sahil Ojha🇳🇵 Follow

Published on infosecwriteups.com

In this writeup, i will be demonstrating about an easy “Subdomain Takeover via Shopify” that anyone can possibly do following these steps. Even i had not done subdomain takeover via Shopify before this.

Sahil Ojha🇳🇵, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the organisation stopped using Shopify but left DNS records pointing to Shopify, so the subdomains were unclaimed and could be taken over by anyone.

Impact

An attacker could host arbitrary content on the organisation's subdomains and redirect their traffic to any site, which could be used for phishing or reputational damage.

What the attacker needed

Subdomains point to Shopify but are unclaimed; a free Shopify trial account

How it was found

  1. Scan the target's subdomains for takeover indicators.
  2. Identify subdomains that appear vulnerable.
  3. Create a Shopify account with a free trial.
  4. Claim the vulnerable subdomains through Shopify.
  5. Redirect traffic from the claimed subdomains to a site you 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 write-up has not been written yet. The Original tab links to the source.

A subdomain is a prefix like 'shop' in shop.example.com. If it points to a service the owner no longer uses, someone else can sign up for that service and claim the name, then serve their own content on the organisation's subdomain.

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.

More by Sahil Ojha🇳🇵

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

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.