Wasabi Bucket Takeover | Bug Bounty
A subdomain's CNAME record still pointed to a Wasabi cloud storage bucket that had been deleted, so anyone could register a bucket with the same name and serve content on that subdomain. The attacker could then host arbitrary files on the organisation's subdomain.
In cloud storage, a bucket 🪣 is a container for storing data. Wasabi uses buckets to organize and manage your data in a hierarchical structure.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could serve their own content on the organisation's subdomain, which could be used for phishing or to damage trust; the author notes that a CDN would need to be configured for public access, and did not configure one for the proof of concept.
What the attacker needed
Knowledge of the vulnerable subdomain; ability to create a Wasabi bucket; bucket name must match the subdomain
How it was found
- Check the subdomain's CNAME record and note that it points to wasabisys.com.
- Create a bucket in the Wasabi console using the exact name of the vulnerable subdomain.
- Select the region shown in the CNAME record.
- Add a bucket policy that allows public read access to objects.
- Upload a test file to the bucket.
- Open the subdomain again to confirm the takeover.
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 write-up has not been written yet. The Original tab links to the source.
A CNAME is a DNS record that points one domain name to another. Here the subdomain pointed to a cloud storage bucket, but the bucket was deleted while the pointer stayed. Because bucket names are global, anyone who creates a bucket with that exact name can put their own files on the organisation's 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.