Skip to content
Subdomain takeover Disclosed report Beginner

Subdomain takeover on wfmnarptpc.starbucks.com

A Starbucks subdomain had a DNS CNAME pointing to an Azure Traffic Manager profile that was no longer registered, allowing anyone to claim it and control the subdomain's content. An attacker could host malicious content, phishing pages, or obtain SSL certificates for the subdomain.

Patrik Hudak Follow

Originally disclosed on HackerOne

  • Triaged in 24 hours
  • Fixed in 3 days
  • Paid in 24 hours
  • Disclosed after 10 days

Summary by the researcher

Subdomain takeover possible on one of Starbucks's subdomain. The subdomain pointed to Microsoft Azure Traffic Manager which was no longer registered under Azure.

Detailed write-up: https://0xpatrik.com/subdomain-takeover-starbucks-ii/

The report

Hello,

this is pretty serious security issue in some context, so please act as fast as possible.

Overview: One of the starbucks.com subdomains is pointing to Azure, which has unclaimed CNAME record. ANYONE is able to own starbucks.com subdomain at the moment.

This vulnerability is called subdomain takeover. You can read more about it here:

https://0xpatrik.com/subdomain-takeover-basics/

Details: wfmnarptpc.starbucks.com has CNAME to s00149tmppcrpt.trafficmanager.net. However, s00149tmppcrpt.trafficmanager.net is not registered in Azure cloud anymore and thus can be registered by anyone. After registering the TrafficManager Profile in Azure portal, the person doing so has full control over content on wfmnarptpc.starbucks.com.

PoC: http://wfmnarptpc.starbucks.com/poc.html

Mitigation: Remove the CNAME record from starbucks.com DNS zone completely. Claim it back in Azure portal after I release it Regards,

Patrik Hudak

Impact

Subdomain takeover is abused for several purposes:

Malware distribution Phishing / Spear phishing XSS Authentication bypass ... List goes on and on. Since some certificate authorities (Let's Encrypt) require only domain verification, SSL certificate can be easily generated.

Attachments

Screen_Shot_2018-07-31_at_00.19.53.png
Screen_Shot_2018-07-31_at_00.19.53.png From the original on HackerOne

The original report as published on HackerOne, by 0xpatrik. 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 CNAME record pointing to a deprovisioned Azure Traffic Manager profile.

Impact

An attacker could host malicious content, phishing pages, or obtain SSL certificates for the subdomain, potentially leading to malware distribution, phishing, XSS, or authentication bypass.

What the attacker needed

Azure account to register the Traffic Manager profile

The fix

The CNAME record should be removed from the DNS zone, and the Traffic Manager profile should be reclaimed in Azure.

How it was found

  1. Identify the subdomain wfmnarptpc.starbucks.com and its CNAME record pointing to s00149tmppcrpt.trafficmanager.net.
  2. Check that the Azure Traffic Manager profile s00149tmppcrpt.trafficmanager.net is not registered.
  3. Register the Traffic Manager profile in the Azure portal.
  4. Host a proof-of-concept page at the subdomain to demonstrate 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 report has not been written yet. The Original tab links to the source.

A subdomain takeover happens when a company's subdomain points to an external service that is no longer in use. If an attacker can register that external service, they can control what appears on the company's subdomain. Here, the subdomain pointed to an Azure Traffic Manager profile that had been deleted, so anyone could recreate it and take over the 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 Patrik Hudak

View all

3 more disclosed reports, best first.

More from Starbucks

View all

The newest disclosed reports for this program.

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.