Skip to content
Subdomain takeover Disclosed report Intermediate

Possible subdomain takeover at openapi.starbucks.com

A process flaw in the approval workflow allowed an attacker to serve content from unique URLs under openapi.starbucks.com. The attacker could host unauthorised content on the domain, though existing services remained secure.

benoculars Follow

Originally disclosed on HackerOne

  • Triaged in 18 hours
  • Fixed in 25 days
  • Paid in 25 days
  • Disclosed after 56 days

Summary by the program

@benoculars was able to take advantage of a process flaw to use some of the space provided for openapi.starbucks.com. While we were still securely serving content from this domain and it did not impact users or operations, it would have been possible for @benoculars to serve content from unique URLs not in use by our apps & services.

In the past, others have reported that they suspected this to be vulnerable for subdomain takeover but no one had provided evidence. Similarly, we initially closed this report, considering it a false positive.

@benoculars then went one step further to provide a non-destructive PoC demonstrating his ability to serve content from our domain. Based on the PoC & repro steps provided, a flaw was identified in the approval process which required human interaction. This was unique in that, given the root cause, it may not have always resulted in a successful takeover. To resolve the issue, operational and platform code changes were introduced.

Thanks @benoculars for going the extra step to create that PoC & answer our questions about repro steps. Nice work!

The original report as published on HackerOne, by benoculars. 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 flaw in the human approval process for provisioning content on the subdomain, combined with platform configuration that allowed unclaimed URLs to be taken over.

Impact

An attacker could serve content from unique URLs under the domain, but existing content remained securely served and users or operations were not impacted.

What the attacker needed

A process flaw in the approval workflow

The fix

Operational and platform code changes were introduced to resolve the issue.

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 someone else can claim a part of a website's address that the owner no longer controls. Here, a mistake in an approval process let a researcher put their own content on a few unused web addresses under the company's domain. The company's real services kept working normally.

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 benoculars

View all

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