DEV Community

Discussion on: Facebook stored hundreds of millions of passwords in plaintext

Collapse
 
aspittel profile image
Ali Spittel

... No plaintext passwords is always the first thing I taught students when they were learning auth. That's a pretty surprising mistake to make it through a huge engineering team.

Collapse
 
elmuerte profile image
Michiel Hendriks

Double ROT13 just to be sure.

Collapse
 
simonhaisz profile image
simonhaisz

This is likely a logging problem, not an auth problem. They store passwords as salted hashes for validation purposes. But some http logging doesn't exclude/scrub these request properly so they end up in Elastic. Why would your logs be encrypted?

In fact I expect this is only occurs with change password, not with auth or account creation. Others have been hit with this like that before.

Not to say this isn't terrible and boneheaded, but it's likely not quite as boneheaded as it first sounds.

Collapse
 
ben profile image
Ben Halpern

Based on some of what I remember from the book Accidental Billionaires, Facebook did a lot of stuff that is mind-bogglingly renegade. Bad even for even small startups.

So it probably isn’t “as bad as it sounds”, but Facebook shows up in the news in these ways too often to get much benefit of the doubt.

Thread Thread
 
aspittel profile image
Ali Spittel

I just read the TechCrunch article, 2,000 engineers had access to these logs. That's mind-blowing to me.

Thread Thread
 
simonhaisz profile image
simonhaisz

Yeah, Facebook is one of the most Valley-est of Valley companies as far as "move fast and break things" since they don't care at all about their users. Securing data according to any sort of "need to know" could slow them down so they don't bother.

Thread Thread
 
ben profile image
Ben Halpern

As far as I know they invented “move fast and break things” or are at least synonymous with it.

Thread Thread
 
kenbellows profile image
Ken Bellows

Yep, afaict Mark Zuckerberg coined it, and it was a Facebook company motto until around 2014. Though I can't seem to find any original sources from the time, it seems the famous quote is: "Move fast and break things. Unless you are breaking stuff, you are not moving fast enough."

(Also: m.xkcd.com/1428/)

Thread Thread
 
simonhaisz profile image
simonhaisz

There really is an xkcd for everything!