Click, Recon, Jackpot! ️♂️ How a Subdomain Led Me to an
A subdomain pointed to a non-existent S3 bucket, allowing the author to claim it and take over the subdomain. The bucket contained exposed credentials that gave full cloud access.
Free Link🎈
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
Root cause
Likely a dangling DNS record pointing to a deleted S3 bucket, combined with sensitive files stored in that bucket.
Impact
The attacker could take over the subdomain and access sensitive files, leading to full cloud access and potential compromise of production data.
What the attacker needed
Subdomain pointing to deleted S3 bucket; no authentication needed to list bucket
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 subdomain is a part of a website address, like 'files-dev' in 'files-dev.target.com'. If that subdomain points to a cloud storage service (like Amazon S3) that no longer exists, anyone can create a new storage bucket with the same name and take control of the subdomain. Here, the bucket also contained secret passwords and keys, which let the attacker access the company's cloud.
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.