Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
13.1-rc-1
Description
Tested on 14.4.1 but according to github the current state is still affected.
When the the reset password form is used the new password is stored in plaintext.
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/java/org/xwiki/security/authentication/internal/DefaultResetPasswordManager.java - Line 317:
userXObject.setStringValue("password", newPassword);
After fixing this a migration will be needed to convert passwords that are currently stored in plaintext into hashes.
Furthermore, this indicates that the authentication check works against a stored plaintext password. This should not be possible.
Attachments
Issue Links
- causes
-
XWIKI-20067 Misleading logs suggesting that the security mails about clear passwords were not sent
- Closed
- is related to
-
XWIKI-19945 Reset password and forgot username features are not working for subwiki users
- Closed
-
XWIKI-11205 If view rights are not allowed for guest users then ResetPassword doesn't work
- Closed