Description
The default password hashing algorithm (PBKDF2-HMAC-SHA1) in Liferay Portal and Liferay DXP defaults to a low work factor, which allows attackers to quickly crack password hashes.
Severity
8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N)
Affected Version(s)
- Liferay Portal 7.4.0 through 7.4.3.13
- Liferay Portal 7.3.0 through 7.3.7
- Liferay Portal 7.2.0 and 7.2.1
- Liferay Portal, older unsupported versions
- Liferay DXP 7.4 before update 16
- Liferay DXP 7.3 before update 4
- Liferay DXP 7.2 before fix pack 17
- Liferay DXP, older unsupported versions
Fixed Version(s)
- Liferay Portal 7.4.3.14
- Liferay DXP 7.4 update 16
- Liferay DXP 7.3 update 4
- Liferay DXP 7.2 fix pack 17
Notes
Workaround:
Set the following in portal-ext.properties:
passwords.encryption.algorithm=PBKDF2WithHmacSHA1/160/720000
Warning: Existing deployments of DXP that want to switch to the higher work factor will need to migrate their password hashing algorithm
Publication date: Tue, 20 Feb 2024 09:10:00 +0000