Skip to content
XSS Write-up Intermediate

Hacking Instagram Scammers

The author investigated phishing websites that steal Instagram credentials and found that the admin panel of one such site was vulnerable to blind cross-site scripting (XSS) and lacked authentication, allowing access to all captured credentials. An attacker could exploit this to view victims' usernames, passwords, and 2FA codes.

sockpuppets Follow

Published on infosecwriteups.com

I see many phishing websites and messages these days. So I decided to make research how scammers scam people and stole hundreds of Instagram accounts.

sockpuppets, on infosecwriteups.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 phishing site's admin panel failed to sanitise user-supplied input (the password field) and lacked authentication, allowing stored XSS and unauthorised access.

Impact

The vulnerability allowed the author to access all stolen credentials, including usernames, passwords, and 2FA codes, potentially compromising many Instagram accounts.

What the attacker needed

Access to the phishing website; ability to submit a username and password

The fix

The phishing website was taken down, but the text does not state a proper fix; ideally, the admin panel should require authentication and sanitise input.

How it was found

  1. The author entered a username containing an HTML tag to test for XSS.
  2. He then submitted a valid username and a blind XSS payload in the password field.
  3. After a few hours, he received notifications from XSSHunter.
  4. He clicked the link from the notification and found the admin panel without authentication.
  5. He could see all accounts attempting to log in on the phishing page.

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.

This is about a researcher who looked into fake Instagram login pages used by scammers. He discovered that the scammers' own admin panel had a security hole: it didn't check who was visiting, and it ran malicious code that he injected, so he could see all the stolen usernames and passwords. This shows that even attackers can be careless.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by sockpuppets

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.