Re:Heroku resetting passwords for “a portion” of their users...
by jrochkind1 on Wednesday May 04, 2022 @07:56AM
(#31259254)
I don't understand enough about the protocol to judge your claim, but it's challenging my assumptions about what 2FA is for. If 2FA with TOTP does not protect you in cases where the attacker knows your password... what is it for? I thought that's what it was for.
Re:Heroku resetting passwords for “a portion” of their users...
by bigDinosaur on Wednesday May 04, 2022 @08:01AM
(#31259292)
The server also contains the secret, so if that secret is leaked then the attacker can generate new tokens. It protects you in the case that your password was stolen, but nothing else e.g. via phishing.
Re:Heroku resetting passwords for “a portion” of their users...
by jrochkind1 on Wednesday May 04, 2022 @09:55AM
(#31260445)
OH, I see, thanks. The password and TOTP secret are separate, but you're suggesting they may likely both be stored in the same place such that a breach could give attacker access to both. Tell me if I don't have it right.
It occurs to me that I know how to reset my password most places I log in to, but I actually have no idea how to reset the TOTP secret.
Re:Heroku resetting passwords for “a portion” of their users...
by bigDinosaur on Wednesday May 04, 2022 @10:27PM
(#31268646)
It might be stored separately, the issue is just with an uncontained breach I suppose.
This means that assuming the DB is using proper salt+hash, the main differentiator is the strength of your password. If it's a relatively short one that can be brute-forced/found via dictionary+small mutation, then attackers could possibly log in as you. If it's a strong password from a password manager, then that will likely have kept them from being able to crack your password.
Of course all this only has value if we assume that only the password db was breached. If they managed to access the place your env-var/secrets are stored, then all bets are off.
[1] https://www.mdpi.com/1424-8220/20/20/5735/htm