How I Take Over The Scammers Data
A scam website that collected victims' card details had an SSRF in the OTP parameter and an unprotected admin page that let the author change the Telegram bot ID used to receive stolen data. The author could redirect the exfiltrated data to their own bot.
Published on systemweakness.com
Hi everyone how are you?, I hope you guys are well. I’m RyuuKhagetsu, this is my article in English, sorry if there are any mistakes.
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 OTP parameter was passed to a server-side request without validation, and the admin page that sets the Telegram bot ID had no authentication.
Impact
An attacker could redirect the stolen card data to their own Telegram bot, and the SSRF could be used to make the server send requests to other systems.
What the attacker needed
Access to the scam website; a Telegram bot; Burp Collaborator or similar
The fix
The site was suspended after being reported to its hosting provider.
How it was found
- Enter a test value in the OTP field and intercept the request.
- Replace the OTP parameter with a Burp Collaborator address and send it.
- Observe the Collaborator interaction confirming SSRF.
- Run dirsearch to find admin.php.
- Open admin.php and note the Telegram bot ID field.
- Change the bot ID to the author's own and submit the form again.
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 scam website was tricking people into typing their card number and a fake one-time code. The person who wrote this found that the site could be made to send requests to other servers (a server-side request forgery, or SSRF) and that a hidden admin page let anyone change where the stolen data was sent. They changed it to their own Telegram bot and received the data instead of the scammers.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.