My First P1 on VDP program — Subdomain Takeover That Hit Critical
A subdomain's DNS CNAME record pointed to an AWS S3 bucket that no longer existed, allowing an attacker to claim the bucket and serve arbitrary content under the trusted domain. The hunter successfully claimed the bucket, demonstrating a subdomain takeover.
While exploring different VDP (Vulnerability Disclosure Program) targets, I decided to try my luck using some Google dorks. I came across a target — let’s refer to it as redacted.com After checking their VDP policy, I found that they accept vulnerability reports through the Swiss Bug Bounty platform.
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 arbitrary content under the trusted domain, potentially enabling phishing or other attacks.
What the attacker needed
None
How it was found
- Collect subdomains of the target domain.
- Check which subdomains are alive and respond with HTTP status code 200.
- Run a subdomain takeover scanner against the list of alive subdomains.
- Identify a subdomain with a CNAME pointing to a non-existent AWS S3 bucket.
- Create an AWS S3 bucket with the same name to claim the subdomain.
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's address, like blog.example.com. A DNS record called CNAME can point that subdomain to another service, here an Amazon S3 storage bucket. If that bucket is deleted but the CNAME remains, anyone can create a new bucket with the same name and control what appears on the 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.