Description
HtmlUtil.escapeRedirect in Liferay Portal and Liferay DXP can be circumvented by using the 'REPLACEMENT CHARACTER' (U+FFFD), which allows remote attackers to redirect users to arbitrary external URLs via the (1) 'redirect` parameter (2) `FORWARD_URL` parameter, (3) `noSuchEntryRedirect` parameter, and (4) others parameters that rely on HtmlUtil.escapeRedirect.
Severity
6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
Affected Version(s)
- Liferay Portal 7.4.0 through 7.4.3.18
- 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 19
- Liferay DXP 7.3 before update 4
- Liferay DXP 7.2 before fix pack 19
- Liferay DXP, older unsupported versions
Fixed Version(s)
- Liferay Portal 7.4.3.19
- Liferay DXP 7.4 update 19
- Liferay DXP 7.3 update 4
- Liferay DXP 7.2 fix pack 19
Publication date: Tue, 20 Feb 2024 09:20:00 +0000