Skip to content
Subdomain takeover Disclosed report Beginner

Subdomain takeover on 'de-headless.staging.gymshark.com'

A Gymshark subdomain pointed to an unclaimed Shopify site, allowing an attacker to claim it and serve their own content. This could be used for phishing, malware distribution, or defacement.

a-p0c Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in 12 hours
  • Fixed in 33 hours
  • Disclosed after 31 days

The Gymshark subdomain https://de-headless.staging.gymshark.com/ was pointing to an unclaimed Shopify site. Because of this an attacker could claim this subdomain, via Shopify, and serve their own content.

This is extremely dangerous as an attacker could serve any malicious content on this domain such as malware, domain defacement, phishing campaigns etc.

Also, phishing victims wouldn't be able to identify the maliciousness of a potential phishing campaign because it would be from a valid Gymshark subdomain.

Note: I have temporarily claimed this domain for PoC and have password protected the site to reduce unnecessary impact to others. I am happy to remove this protection if you require further takeover evidence.

Remediation

  • Remove the CNAME record for Shopify on 'de-headless.staging.gymshark.com'.
  • I can release 'de-headless.staging.gymshark.com' for reclaim if needed.

PoC Link

https://de-headless.staging.gymshark.com/

PoC Evidence

image.png
image.png From the original on HackerOne
image.png
image.png
GymsharkSubdomainTakeover_Evidence.mp4
image.png
image.png

Thanks, A-p0c

Impact

If an attacker controlled https://de-headless.staging.gymshark.com/ they could host any malicious content they wanted, such as malware, defacement, a convincing phishing campaign

The original report as published on HackerOne, by a-p0c. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely a dangling DNS record (CNAME) pointing to a Shopify site that was no longer claimed, allowing anyone to claim it.

Impact

An attacker could host malicious content such as malware, defacement, or phishing on a legitimate Gymshark subdomain, making it harder for victims to detect.

What the attacker needed

None

The fix

The CNAME record for Shopify on the subdomain should be removed.

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 is a part of a website address, like 'blog.example.com'. Here, the subdomain was set up to point to a Shopify store that no longer existed, so anyone could sign up for that Shopify store and take control of the subdomain. This let the attacker put their own content on the company's domain, which could 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.

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.