How I “Hacked” a Company’s Instagram Account (And Got Rewarded for an Out-of-Scope Bug!)
A company's website linked to an Instagram handle that did not exist, so anyone could register that username and control where the official link sent visitors. The author claimed the handle and could have impersonated the brand, phished users or spread malware.
Published on vanshrathorebughunter.medium.com
In the bug bounty community, it is incredibly easy to get tunnel vision. We spend hours hunting for complex vulnerabilities — trying to bypass WAFs, chaining exploits, or digging for that elusive RCE.
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
Visitors trusting the company's own link could be sent to an attacker-controlled profile used for brand impersonation, phishing or malware links; the author secured the handle rather than abusing it.
What the attacker needed
A social media link to an unregistered handle; attacker registers that username first
The fix
The links were corrected, but an older cached layout kept serving the broken link on some pages until the cache was purged across all servers.
How it was found
- Walk through the site manually as a normal user.
- Check the social media icons in the homepage footer.
- Click the Instagram icon and see Instagram's 'page isn't available' error.
- Register the unclaimed username on Instagram.
- Confirm the company's link now points to the account you control.
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's footer had a link to the company's Instagram page, but the username in that link was not registered on Instagram. Because usernames there are first-come-first-served, anyone could sign up with that name and the company's own website would then send visitors to that stranger's profile.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.