Skip to content
OpenAdvisories
Medium · 6.1 CVE-2024-25609 EUVD-2024-22932GHSA-3qq5-wcrx-4h8r

Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Two Forward Slashes

Published Feb 20, 2024 · Updated Aug 23, 2024 · Assigned by Liferay

Description

HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.12, and older unsupported versions, and Liferay DXP 7.4 before update 9, 7.3 service pack 3, 7.2 fix pack 15 through 18, and older unsupported versions 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.

Affected products

VendorProductAffectedFixed
Liferay Portal 7.2.0 – ≤ 7.4.3.12 —
Liferay DXP 7.4.13 – ≤ 7.4.13.u8, 7.3.10-dxp-3, 7.2.10-dxp-15 – ≤ 7.2.10-dxp-18 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.liferay.portal:release.dxp.bom >= 7.2.10.fp15, <= 7.2.10.fp18 — GHSA-3qq5-wcrx-4h8r
Maven com.liferay.portal:release.dxp.bom >= 7.4.0, < 7.4.13.u9 7.4.13.u9 GHSA-3qq5-wcrx-4h8r
Maven com.liferay.portal:release.portal.bom >= 7.2.0, < 7.4.3.13-ga13 7.4.3.13-ga13 GHSA-3qq5-wcrx-4h8r

Advisories 1

References