Gain BE access using old passwords
It is possible to gain a backend session using a password, which is not matching the requirements.
Steps to reproduce
- Force a be user to reset the password (
tx_besecurepw_lastpwchange => 0
) - Login with the old password
- The user gets redirected to user settings modul and gets the message "Your password expired"
- Set a weak password and save the settings (for example
test123
) - An error message occurs, that the password does not match the requirements.
- The user gets redirected to the normal TYPO3 BE
- Log out
- Try to login again with the weak password => Login fails
- Try to login again with the old password => Login works. The db field
tx_besecurepw_lastpwchange
is filled with the timestamp of the password change.
System
- TYPO3: V11.5
- php: 7.4
- EXT:be_secure_pw: 10.1.2
Edited by Marcus Schwemer