Skip to content
Subdomain takeover Write-up Beginner

Subdomain Takeover Leads to 5000 USDC — Wild Hunt Pays Off

A subdomain pointed to an unclaimed Amazon S3 bucket, allowing an attacker to take it over. The hunter demonstrated that this could be used to host a phishing page that mimics the main site and collects wallet credentials.

medium.com

Published on medium.com

After spending a lot of time on structured platforms, I decided it was time to go solo for a bit — less noise, more exploration. I picked a blockchain-based web application as my target, which looked pretty static.

FOYSAL AHMED FAHIM, on medium.com

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 was never created or was deleted, leaving the subdomain unclaimed.

Impact

An attacker could host a phishing page on the legitimate subdomain to steal wallet credentials or track users, though the report only demonstrates this potential with a proof of concept.

What the attacker needed

Unclaimed S3 bucket; dangling DNS record; no authentication needed

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 blog.example.com. If that subdomain points to a cloud storage service (like Amazon S3) but the storage space is not claimed, anyone can claim it and put their own content there. This is called a subdomain takeover, and it lets an attacker host fake pages on the real domain, which can be used to trick users.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Subdomain takeover

The lesson behind this report.

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.