6.1medium
Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Two Forward Slashes
- Severity
- 6.1medium CVSS:3.1 by Liferay
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Liferay
- Also known as
- GHSA-3qq5-wcrx-4h8r
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
| Product or package | Versions | Reported by |
|---|---|---|
| Liferay Portal | from 7.2.0 up to 7.4.3.12 | CVE List |
| Liferay DXP | from 7.4.13 up to 7.4.13.u8, 7.3.10-dxp-3, from 7.2.10-dxp-15 up to 7.2.10-dxp-18 | CVE List |
| com.liferay.portal:release.portal.bom (Maven) | from 7.2.0 before 7.4.3.13-ga13 | GitHub Advisory Database |
| com.liferay.portal:release.dxp.bom (Maven) | from 7.2.10.fp15 up to 7.2.10.fp18, from 7.4.0 before 7.4.13.u9 | GitHub Advisory Database |
| liferay digital_experience_platform | before 7.2, 7.2, 7.3, 7.4 | NVD |
| liferay liferay_portal | before 7.4.3.13 | NVD |
All scores
| Liferay | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
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.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.
NVD (es)
HtmlUtil.escapeRedirect en Liferay Portal 7.2.0 a 7.4.3.12 y versiones anteriores no compatibles, y Liferay DXP 7.4 anterior a la actualización 9, 7.3 service pack 3, 7.2 fixpack 15 a 18 y versiones anteriores no compatibles se pueden eludir usando dos barras diagonales, que permiten a atacantes remotos redirigir a los usuarios a URL externas arbitrarias a través del (1) parámetro 'redirect` (2) el parámetro `FORWARD_URL` y (3) otros parámetros que dependen de HtmlUtil.escapeRedirect. Esta vulnerabilidad es el resultado de una solución incompleta en CVE-2022-28977.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25609 changed 2024-08-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3qq5-wcrx-4h8r changed 2025-07-29 | CC-BY-4.0 |
| NVD | CVE-2024-25609 changed 2026-06-17 | Public domain |