• HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    5 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@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      3 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.

    • cron@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      4 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.