Skip to content
Subdomain takeover Disclosed report Beginner

Subdomain takeover on svcgatewaydevus.starbucks.com and svcgatewayloadus.starbucks.com

Two Starbucks subdomains had CNAME records pointing to unclaimed Azure Traffic Manager endpoints, allowing anyone to claim them and serve arbitrary content. The attacker could host malware, phishing pages, or perform XSS and authentication bypass.

blurbdust Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 14 hours
  • Fixed in 42 hours
  • Paid in 14 hours
  • Disclosed after 5 days

Hello,

This is fairly close to this report however these are different subdomains than the one in the report.

This can be pretty serious since I can server virtually anything I want. In the 45 minutes I've held the domain I have served to 341 unique IP addresses.

Two starbucks.com subdomains are pointed to Azure with an unclaimed CNAME record. Anyone would be able to serve content on these subdomains.

##svcgatewayloadus.starbucks.com

;; Server: 1.1.1.1:53
;; Size: 191
;; Unix time: 1531965036
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3697
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
svcgatewayloadus.starbucks.com. IN A

;; ANSWER SECTION:
svcgatewayloadus.starbucks.com. 600 IN CNAME s00197tmp0crdfulload0.trafficmanager.net.

;; AUTHORITY SECTION:
trafficmanager.net. 30 IN SOA tm1.msft.net. hostmaster.trafficmanager.net. 2003080800 900 300 2419200 30

##svcgatewaydevus.starbucks.com

;; Server: 9.9.9.9:53
;; Size: 156
;; Unix time: 1531965036
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 47788
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
svcgatewaydevus.starbucks.com. IN A                                                                                                                                                            

;; ANSWER SECTION:
svcgatewaydevus.starbucks.com. 600 IN CNAME s00197tmp0crdfuldev0.trafficmanager.net.                                                                                                           

;; AUTHORITY SECTION:
trafficmanager.net. 30 IN SOA tm1.msft.net. hostmaster.trafficmanager.net. 2003080800 900 300 2419200 30

#PoC: http://svcgatewayloadus.starbucks.com/ http://svcgatewaydevus.starbucks.com/

##Mitigation: Remove the CNAME record from the starbucks.com DNS zone Claim it in Azure once I release it

Impact

Subdomain takeover can be used for several purposes:

  • Malware
  • Phishing / Spear phishing
  • XSS
  • Authentication bypass

The original report as published on HackerOne, by blurbdust. 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 the CNAME records for the subdomains were left pointing to Azure Traffic Manager endpoints that were no longer owned or claimed by Starbucks.

Impact

An attacker could serve arbitrary content on the subdomains, enabling malware distribution, phishing, XSS, and authentication bypass.

What the attacker needed

DNS records point to unclaimed Azure endpoints; Attacker can claim the Azure endpoints

The fix

The CNAME records should be removed from the starbucks.com DNS zone, and the Azure endpoints should be claimed by Starbucks.

How it was found

  1. Query DNS for svcgatewayloadus.starbucks.com and observe a CNAME to an Azure Traffic Manager endpoint.
  2. Query DNS for svcgatewaydevus.starbucks.com and observe a CNAME to another Azure Traffic Manager endpoint.
  3. Claim the unclaimed Azure endpoints to serve content on the subdomains.

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 claims that service, they can control what appears on the subdomain. Here, two Starbucks subdomains pointed to Azure but the Azure resource was unclaimed, so the attacker could take it over and serve any content.

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 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.