Skip to content
Subdomain takeover Write-up Beginner

From Bugs to Bucks: My First Bounty $$$

A social media link on the target's site pointed to an unclaimed Instagram username, so anyone could register that handle and receive the site's visitors. The author claimed the account and reported it, and the program paid a bounty.

medium.com

Published on medium.com

I woke up early because I had to study for my college test, and the first thing I did was check my emails. My eyes popped out, and my heart started racing like an F1 car ๐ŸŽ๏ธ.

Rajveer, 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 the site linked to a social media handle that the organisation had never registered, leaving the name free for anyone to claim.

Impact

Visitors following the site's social link could be sent to an account controlled by the attacker, enabling brand impersonation; the author notes not every program rewards this class of bug.

What the attacker needed

Self-hosted program; unclaimed social media handle

How it was found

  1. Run basic reconnaissance scripts and browse the site's features with an intercepting proxy running.
  2. Collect endpoints from JavaScript files and filter them for social media links.
  3. Open the collected social links and check each one.
  4. Find an Instagram link whose username is unclaimed and register it.

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 website often links to its own social media pages. If the username in that link is not actually registered by the company, a stranger can register it first and then control what visitors see when they click the link. This is called broken link hijacking, and it can be used to impersonate the brand.

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.