Able to blocking users with 2fa from login into their accounts by just knowing the SteamID
Medium
Vulnerability Details
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.
1. Get the request to confirm the 2fa code.
{F1282394}
```http
POST /login/confirm HTTP/1.1
Host: cs.money
Content-Length: 28
Connection: close
Cookie: steamid=<victim_steam_id>;
{"token":"foo","code":"foo"}
```
2. Change the cookie steamid to the victim one.
3. Repeat the request 4 times (4 wrong codes).
-------
█████
## Impact
I hacker could block everyone with 2fa from login into cs.money.
Actions
View on HackerOneReport Stats
- Report ID: 1179232
- State: Closed
- Substate: resolved
- Upvotes: 57