CVE-2024-25608
Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character
Description
HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.18, and older unsupported versions, and Liferay DXP 7.4 before update 19, 7.3 before update 4, 7.2 before fix pack 19, and older unsupported versions 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.
How to fix CVE-2024-25608
To remediate CVE-2024-25608, upgrade the affected package to a fixed version below.
- —upgrade to 7.2.10.fp19 or later
- —upgrade to 7.4.3.19-ga19 or later
Is CVE-2024-25608 being exploited?
Moderate — EPSS is 17.6%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 7.2.10.fp19
- >= 7.2.0, < 7.4.3.19-ga19
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |