CVE-2024-25608
Liferay Portal and Liferay DXP's HtmlUtil.escapeRedirect Can Be Circumvented via Replacement Character
Record summary
CVE-2024-25608 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Known exploitation
- VulnCheck KEV
- Listed · Jan 29, 2025 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Feb 20, 2024 · Source: CVE List
Affected products and versions
5| Product | Source | Version range | Status |
|---|---|---|---|
Default status: unknown | CVE List | 7.4.13 to ≤ 7.4.13.u18 | affected |
| 7.3.10 to ≤ 7.3.10-dxp-3 | affected | ||
| 7.2.10 to ≤ 7.2.10-dxp-18 | affected | ||
PortalBrowse Liferay / PortalDefault status: unknown | CVE List | 7.2.0 to ≤ 7.4.3.18 | affected |
digital_experience_platformBrowse liferay / digital_experience_platform | VulnCheck | Version data not supplied | |
com.liferay.portal:release.dxp.bomBrowse Maven / com.liferay.portal:release.dxp.bom | GitHub Advisory | Before 7.2.10.fp19 · Fixed in 7.2.10.fp19 | affected |
| 7.3.0 to < 7.3.10.u4 · Fixed in 7.3.10.u4 | affected | ||
| 7.4.0 to < 7.4.13.u19 · Fixed in 7.4.13.u19 | affected | ||
com.liferay.portal:release.portal.bomBrowse Maven / com.liferay.portal:release.portal.bom | GitHub Advisory | 7.2.0 to < 7.4.3.19-ga19 · Fixed in 7.4.3.19-ga19 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMLiferay Portal - Open RedirectCVSS 6.1
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.
Impact
Attackers can redirect users to arbitrary external URLs, potentially leading to phishing or malware distribution.
Remediation
Update to the latest supported versions of Liferay Portal and DXP, applying all security patches.
Source: ProjectDiscovery