Skip to content

Error Logs Password in Plaintext #9054

Open
@ertyu

Description

@ertyu

Found the following in logs/errors.log after encountering an error logging in, with the username and password logged in plaintext. The underlying error was a library mismatch with php after upgrade.
But it should never log passwords, and certainly not in plaintext. Should add this was with 1.6.1.

[07-Jul-2023 14:35:24 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "INTL_IDNA_VARIANT_UTS46" in /usr/local/www/roundcube/program/lib/Roundcube/rcube_utils.php:1153
Stack trace:
#0 /usr/local/www/roundcube/program/lib/Roundcube/rcube_utils.php(1117): rcube_utils::idn_convert('localhost', true)
#1 /usr/local/www/roundcube/program/include/rcmail.php(761): rcube_utils::idn_to_ascii('localhost')
#2 /usr/local/www/roundcube/index.php(119): rcmail->login('<USERNAME>', '<PASSWORD>', 'localhost', true)
#3 {main}
  thrown in /usr/local/www/roundcube/program/lib/Roundcube/rcube_utils.php on line 1153

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions