Multiple Subdomain takeovers via unclaimed instances
Several subdomains of a company's API platform could be taken over, letting an attacker serve their own content from the company's domain. The researcher demonstrated this non-destructively by serving content from unused URLs.
Originally disclosed on HackerOne
- Triaged in 36 days
- Fixed in 41 days
- Paid in 41 days
- Disclosed after 55 days
Summary by the program
Hacker @benoculars was able to successfully faciliate multiple subdomain takeovers by taking advantage of a process flow to use some of the space provided for germany.openapi.starbucks.com, psv.openapi.starbucks.com, stage-psv.openapi.starbucks.com, and test-psv.openapi.starbucks.com. While we were still securely serving content from these domains, and no users or operations were impacted, it would have been possible for @benoculars to serve content from unique URLs not in use by our applications and services.
@benoculars had illustrated a non-destructive PoC, showing his ability to serve content from our domain. We were able to make platform and operational changes to resolve this issue.
Thanks @benocular for identifying weak subdomains and helping to resolve this issue! Great work!
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 some space provided for several subdomains was left claimable, allowing an attacker to serve content from them.
Impact
The researcher could serve content from the company's subdomains, although the company says normal content stayed secure and no users or operations were affected.
What the attacker needed
Claimable space for subdomains
The fix
The company made platform and operational changes 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 a company points a name at an outside service but stops using it without cleaning up. Anyone who notices can claim the resource and put their own pages on the company's subdomain. Here the researcher found several such names and showed he could host content on them.
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.