Issue Bug Closed

#70216Bug in compareUident (SaltedPasswordService.php) if salted passwords are used

Thomas Hohn 09/30/15, 14:03 updated 09/08/16, 20:56

Description

In fe_users we store the users password as salted password :-)

The call compareUident in SaltedPasswordService.php used by authUser seems to fail since
the password read from $loginData[‘uident_text’] is now salted and hence the call
to $validPasswd = $this->objInstanceSaltedPW->checkPassword($password, $user[‘password’]);
will fail since the password here is expected to be in plaintext

The methods checkPassword implemented in PhpassSalt, and Md5Salt should be able to perform
the comparison even if a salted password is provided.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.