2FA can be easily bypassed with user token itself, also token isn't stored securely #4227
-
A hacker, simply needs a user's token to login and run all the dangerous stuff. No 2fa even required. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 14 replies
-
this doesn't make sense; it isn't feasible for Discord to ask you to authenticate with 2fa every second for every action the client wants to do, so obviously you can "bypass" 2fa with the token, that's how all services work and basically the whole idea of "logging in" to a service |
Beta Was this translation helpful? Give feedback.
-
giving the token to someone (or running an app that they tell you to download) is like giving them your unlocked phone with the discord app open. don't do that! |
Beta Was this translation helpful? Give feedback.
-
is there no way to lock the token to an ip address or device id? |
Beta Was this translation helpful? Give feedback.
-
rather this than have my account stolen... Seems discord are constantly playing cat and mouse with people writing malicious token stealers, some of them very sophisticated. This would at least make that sort of attack much more difficult. As far as im aware we dont even have a way to list devices using our credentials and force them all to log out and re-auth with 2FA. Think like google have. If we at least had this option, if someone thought they'd been hacked they could at least click this nuclear option logging out all sessions and forcing 2FA again on all. |
Beta Was this translation helpful? Give feedback.
-
I think the tokens are securely. |
Beta Was this translation helpful? Give feedback.
-
What if discord provides additional security like how it asks for 2fa again when I'm deleting servers or changing password, if discord sees that I'm either sending a lot of frnd req or blocking a lot of people (when someone is hacked, this happens) discord can lock up that token and ask for 2fa in order to continue. If the user fails to provide it, notify the real user via email that their account is compromised. I once saw Facebook doing this: my father's account was once logined to an different service with dangerous scopes and stuff, so Facebook thought there is something wierd going on with his account that time, so they said to reset the password because they feel it's been compromised and then they FREAKING showed a one month view of what the account had done on Facebook, which messages it gave likes, which accounts were unfriended or friended, which groups did he join or leave, everything had been shown a brief review. I think this feaure would be very cool and safe if it could be implemented to discord too. |
Beta Was this translation helpful? Give feedback.
-
This discussion board is for API suggestions and feedback, and this post doesn't really fall under API talk, so it's now locked. To OP's point, as far as I'm aware the only way to extract a token is to compromise the machine with Discord installed. Unfortunately, once an attacker's code is running with user privileges, it follows that they can do anything you can do. Discord continues to take steps to limit the spread of malicious software and to mitigate the impact of stolen tokens. |
Beta Was this translation helpful? Give feedback.
This discussion board is for API suggestions and feedback, and this post doesn't really fall under API talk, so it's now locked.
To OP's point, as far as I'm aware the only way to extract a token is to compromise the machine with Discord installed. Unfortunately, once an attacker's code is running with user privileges, it follows that they can do anything you can do. Discord continues to take steps to limit the spread of malicious software and to mitigate the impact of stolen tokens.