500$ Bounty in just 5 minutes through Recon!!!!
An Amazon S3 bucket referenced by a subdomain was no longer registered, so the subdomain returned a 'No Such Bucket' error. The hunter registered a bucket with the same name and took control of the subdomain.
Published on hunter-55.medium.com
As you know everyone does recon on their target. Maximum time the recon process/flow is same for everyone.
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 an S3 bucket that no longer existed, allowing anyone to register a bucket with the same name.
Impact
An attacker could take over the subdomain and serve their own content from it, which could be used for phishing or other abuse.
What the attacker needed
Dangling DNS record to an S3 bucket; bucket name is unclaimed; AWS account to create the bucket
How it was found
- Run secretfinder on live subdomains and find an Amazon AWS URL.
- Open the URL in a browser and see an access denied message.
- Access the subdomain without any path and see a 'No Such Bucket' error.
- Log into the AWS console and create a bucket with the same name.
- Confirm the subdomain 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 subdomain pointed at an Amazon S3 storage bucket that had been deleted. Because anyone can create a bucket with an unused name, the hunter claimed that name and the subdomain started showing their content. This is called subdomain takeover.
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.