• @HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    138 hours ago

    Does anyone remember an article/interview a while back where Mark Fuckerberg shamelessly admitted that he chose not to hash passwords in the original Facebook codebase specifically because he wanted to be able to log into his users’ other accounts that use the same password? I swear I remember reading something like this but now I can’t find it.

  • @fl42v@lemmy.ml
    link
    fedilink
    2110 hours ago

    instead of in an encrypted format on its internal systems.

    Riiight, like that’s any better. Jokes aside, it’s hard to imagine what kind of “mistake” results in storing plain text instead of hashing, unless the mistake was in choosing whoever made the security assessment

    • @masterspace@lemmy.ca
      link
      fedilink
      English
      910 hours ago

      There was a previous article on this with more explanation that I’m struggling to find.

      The gist was that they do hash all passwords stored, the problem was that there was a mistake made with the internal tool they use to do that hashing which led to the passwords inadvertently going into some log system.

      • @BearOfaTime@lemm.ee
        link
        fedilink
        -18 hours ago

        “mistake”

        I call BS. The reviews I’ve gone through for trivial stuff would’ve exposed this.

        This was intentional.

        • @masterspace@lemmy.ca
          link
          fedilink
          English
          12 minutes ago

          Yeah, cause trivial systems are a lot easier to parse and review. At a base level that’s nonsense logic.

        • @moody
          link
          15 hours ago

          A mistake doesn’t mean it’s an accident. A mistake means they made the wrong choice.

        • @HiddenLayer555@lemmy.ml
          link
          fedilink
          English
          38 hours ago

          Hanlon’s Razor revised: Never attribute to malice what can be attributed to incompetence, except where there is an established pattern of malice.

  • @cron@feddit.org
    link
    fedilink
    810 hours ago

    This is not about facebook not hashing credentials, it is that they appeared in internal logs.

    Facebook is probing a series of security failures in which employees built applications that logged unencrypted password data for Facebook users and stored it in plain text on internal company servers.

    Source: Krebs on Security

    • @HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      18 hours ago

      that logged unencrypted password data

      Why the fuck would you need to log a password ever? This is absolutely malice and not incompetence.

      • bjorney
        link
        fedilink
        36 hours ago

        You are acting like someone checked off a “log passwords” box, as if that’s a thing that even exists

        Someone configured a logger to write HTTP bodies and headers, not realizing they needed to build a custom handler to iterate through every body and header anonymizing any fields that may plausibly contain sensitive information. It’s something that literally every dev has done at some point before they knew better.

        • @HiddenLayer555@lemmy.ml
          link
          fedilink
          English
          1
          edit-2
          1 hour ago

          It’s something that literally every dev has done at some point before they knew better.

          If you’re working for a multinational tech company handling sensitive user data and still make this mistake, then you are being malicious in your incompetence. This is something that would cause you to lose a significant amount of marks on a first year college programming project, let alone a production system used by literally billions of people.

      • @cron@feddit.org
        link
        fedilink
        2
        edit-2
        7 hours ago

        Just one open source example … freeradius has an option to log passwords:

        log {
            destination = files
            auth = no
            auth_badpass = no
            auth_goodpass = no
        }
        

        Or another example: The apache web server has a module that dumps all POST data, with passwords, in plain text:

        mod_dumpio allows for the logging of all input received by Apache and/or all output sent by Apache to be logged (dumped) to the error.log file. The data logging is done right after SSL decoding (for input) and right before SSL encoding (for output). As can be expected, this can produce extreme volumes of data, and should only be used when debugging problems.

        I don’t agree that this is “absolutely malice”, it could also be stupidity and forgetfulness.