HexBrain

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:

  1. Login into your account with 2fa.
  2. 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"}
  1. Change the cookie steamid to the victim one.
  2. Repeat the request 4 times (4 wrong codes).

█████

Impact

I hacker could block everyone with 2fa from login into cs.money.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original