CVE-2024-25609 HtmlUtil.escapeRedirect circumvention with two forward slash

Description

HtmlUtil.escapeRedirect in Liferay Portal and Liferay DXP can be circumvented by using two forward slashes, which allows remote attackers to redirect users to arbitrary external URLs via the (1) 'redirect` parameter (2) `FORWARD_URL` parameter, and (3) others parameters that rely on HtmlUtil.escapeRedirect. This vulnerability is the result of an incomplete fix in CVE-2022-28977.

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.12
  • 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 9
  • Liferay DXP 7.3 service pack 3
  • Liferay DXP 7.2 fix pack 15 through 18
  • Liferay DXP, older unsupported versions

Fixed Version(s)

Publication date: Tue, 20 Feb 2024 09:30:00 +0000

Security advisories for Liferay's enterprise offerings (e.g., Liferay DXP) are only listed here since 2023. Historial advisories are availabe in the Help Center.