CVE-2024-25608
JSON

6.1medium

Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character

Severity
6.1medium CVSS:3.1 by Liferay
Exploit likelihood
0.97% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Liferay
Also known as
GHSA-548x-j6x6-hcv4

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.

Affected

Product or packageVersionsReported by
Liferay Portalfrom 7.2.0 up to 7.4.3.18CVE List
Liferay DXPfrom 7.4.13 up to 7.4.13.u18, from 7.3.10 up to 7.3.10-dxp-3, from 7.2.10 up to 7.2.10-dxp-18CVE List
com.liferay.portal:release.portal.bom (Maven)from 7.2.0 before 7.4.3.19-ga19GitHub Advisory Database
com.liferay.portal:release.dxp.bom (Maven)before 7.2.10.fp19, from 7.3.0 before 7.3.10.u4, from 7.4.0 before 7.4.13.u19GitHub Advisory Database
liferay digital_experience_platformbefore 7.2, 7.2, 7.3, 7.4NVD
liferay liferay_portalbefore 7.4.3.19NVD

All scores

Liferay6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-601

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

HtmlUtil.escapeRedirect en Liferay Portal 7.2.0 a 7.4.3.18 y versiones anteriores no compatibles, y Liferay DXP 7.4 antes de la actualización 19, 7.3 antes de la actualización 4, 7.2 antes del fixpack 19 y versiones anteriores no compatibles se pueden eludir utilizando el 'REPLACEMENT CHARACTER' (U+FFFD), que permite a atacantes remotos redirigir a los usuarios a URL externas arbitrarias a través del (1) parámetro 'redirect` (2) parámetro `FORWARD_URL`, (3) parámetro `noSuchEntryRedirect` y (4) otros parámetros que dependen de HtmlUtil.escapeRedirect.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-25608 changed 2024-08-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-548x-j6x6-hcv4 changed 2025-07-29CC-BY-4.0
NVDCVE-2024-25608 changed 2026-06-17Public domain