How I Hacked The Hacker Accessed 10000 Facebook Instagram Username Passwords Pii More
A phishing page that mimicked Facebook stored whatever victims typed, and the attacker's own admin dashboard rendered that stored data without sanitising it. The researcher submitted a blind cross-site scripting payload through the fake login form, which executed inside the attacker's dashboard and let the researcher reach an admin login whose response exposed credentials in cleartext.
Published on cybersecuritywriteups.com
FREE LINK
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 kit's admin dashboard rendered submitted form data without output encoding, allowing stored script execution, and its login response also returned account credentials in cleartext.
Impact
The researcher could read the phished data of over 10,000 users and log into the attacker's dashboard; the text does not say whether the victims' data was recovered or reported to anyone.
What the attacker needed
Attacker runs a phishing kit; researcher has an XSS Hunter account; payload fires in attacker's browser
How it was found
- Copy the phishing link from the email and open it in incognito mode
- Put a blind cross-site scripting payload into every input field of the fake login form and submit it
- Wait for the payload to fire and check the XSS Hunter dashboard for the execution report
- Visit the reported URL to reach the attacker's admin login page
- Intercept the login request and inspect the response, which contained admin accounts, emails and passwords in cleartext
- Log in with one of the exposed credentials to reach the dashboard holding the phished data
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 phishing page is a fake copy of a real login screen, made to trick people into typing their username and password. This fake page saved everything people typed and showed it on a private admin page belonging to the criminal. That admin page displayed the stolen text without cleaning it, so text that included a small script ran as code in the criminal's browser and reported back to the researcher.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.