Subdomain Takeover On Open Itu Edu Via Shopify
A subdomain of itu.edu had a dangling DNS record pointing to Shopify, allowing anyone to claim it by creating a Shopify account and linking the domain. The researcher took over the subdomain and hosted a proof-of-concept page.
A little over a month ago, I became very interested in finding my very own Subdomain Takeover vulnerability. For those who have never heard of an Subdomain Takeover, the concept is quite simple.
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 DNS record for the subdomain still pointed to Shopify after the original Shopify store was removed, leaving it unclaimed.
Impact
An attacker could host arbitrary content on a university subdomain, which could be used for phishing or other malicious purposes.
What the attacker needed
A Shopify account; a paid Shopify plan (a few dollars a month); the subdomain's DNS record points to Shopify
The fix
The vulnerability was fixed by removing the dangling DNS record, taking the subdomain offline.
How it was found
- Scrape a list of popular .edu domains.
- Use Subjack to check for dangling DNS records.
- Identify open.itu.edu pointing to Shopify.
- Create a Shopify account and choose the cheapest plan.
- Link the domain open.itu.edu in Shopify settings.
- Host a proof-of-concept page 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 write-up has not been written yet. The Original tab links to the source.
A subdomain is a prefix like 'open' added to a main domain. If that subdomain points to an external service that is no longer in use, an attacker can sign up for that service and claim the subdomain, showing their own content on the university's address.
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.