JUST
Yahoo discloses hack of 1B accounts
431–440 of 596 posts
Re: Yahoo discloses hack of 1B accounts
#432Earlier quoted context omitted.
Hash the password locally (you are serving JavaScript over SSL right?) and only send the SHA256.
Never trust the client.
They hash in the browser: the only way they can mess with it by producing silly outputs, but that only hurts them.
Re: Yahoo discloses hack of 1B accounts
#433Earlier quoted context omitted.
Yep, people who've run marginally popular sites have dealt with this before. Give someone a text box and watch them try to stuff 4GB of content in it. There has to be a cutoff somewhere, but as you note, it should be well outside of the realm of reasonable password lengths (hundreds of characters).
GitHub is the only website I can think of off the top of my head that doesn't limit to an arbitrarily small number (aka <100). Do you name any other "major" websites that allow 100 character passwords?
Re: Yahoo discloses hack of 1B accounts
#434Re: Yahoo discloses hack of 1B accounts
#435I logged into my yahoo email in chrome in an incognito tab and it logged into someone else's account. This was probably in 2014 (it could have been in 2013). I wonder if this was related at all.
What's likely is that two people were logging in at once and they ended up with the same credential because someone didn't realize that a servlet is a singleton.
Re: Yahoo discloses hack of 1B accounts
#436Earlier quoted context omitted.
Apologies, I've heard the details at this point and I can't disclose them. The limit of what I can do is poke holes in the theories that are wrong.
Aren't the details "three years after we were hacked, law enforcement told us that we had been hacked, and we believe them?" The press release explicitly says "We have not been able to identify the intrusion associated with this theft." I especially noticed that the "What are we doing to protect our users?" section doesn't mention anything about Yahoo fixing any security issues. Presumably, then, as a Yahoo engineer,…
"We continuously enhance our safeguards and systems that detect and prevent unauthorized access to user accounts."
At the end of the same paragraph. They're already continuously updating security, before they even knew they were hacked. Three years have passed, so for all they know something in those continuous updates covered this hack.
Re: Yahoo discloses hack of 1B accounts
#437Earlier quoted context omitted.
And nobody ever seemed to say "hey, maybe we should be using something more secure". Yahoo's been around for how many decades, and the fact they were still using MD5 in 2013 is just shameful. Yeah if it was some legacy code from 1993 you can probably excuse it, but I just can't believe after 20 years nobody thought it was a problem. I'm not really a software developer but I really can't imagine it being a huge change…
Hashing the hash isn't a good idea, you're reducing the domain of your secure_hash function to the range of md5. The way to do it is to have a "password hash algo version" column and when the user puts in their password, you verify against the hash[algo](password) and rehash with the later version, changing the algo column for that user.
Re: Yahoo discloses hack of 1B accounts
#438Re: Yahoo discloses hack of 1B accounts
#439Earlier quoted context omitted.
> I don't like 2FA either That seems to be a rather dangerous position to hold these days. I personally dislike that googles 2FA is SMS based (unless there's a way to use e.g. Authy with it that I'm unaware of), but still seems that the only way to be reasonably safe is a strong password and 2FA. I'll add that The authy app on the Apple Watch has made 2FA for services that support it rather painless.
Google also allows you to use google authenticator, but I don't believe they allow third party services.
Re: Yahoo discloses hack of 1B accounts
#440Earlier quoted context omitted.
Google also allows you to use google authenticator, but I don't believe they allow third party services.
Google does allow other apps (I think it is still same as GAuth) SASS pass and other authenticators with good. But yes they don't allow other token provides like Yubikey or RSA fobs