HexBrain

Nextcloud · Report #264426

Nextcloud logs ldap passwords

Validstatus
lowseverity
2upvotes
31 Jan 2020disclosed

How it was found

When the ldap server is (temporarily) unavailable, data like the attached ends up in log files. I've replaced usernames with XXX_USERn_XXX and passwords with XXX_PASSn_XXX. It seems that at least the following are missing from $methodsWithSensitiveParameters in lib/private/Log.php:

  • bind
  • areCredentialsValid
  • invokeLDAPMethod
  • checkPasswordNoLogging

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original