{"id":"CVE-2024-25609","published":"2024-02-20T09:37:55Z","modified":"2024-08-23T19:19:20Z","title":"HtmlUtil.escapeRedirect in Liferay Portal 7.2.0 through 7.4.3.12, and older unsupported versions, and Liferay DXP 7.4…","vendor":"Liferay","product":"Portal","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00355,"percentile":0.29188,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2024-25609","tags":["vendor-advisory"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":5.84},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"liferay","affectedVersions":[{"vendor":"Liferay","product":"Portal","versions":[">= 7.2.0, <= 7.4.3.12"]},{"vendor":"Liferay","product":"DXP","versions":[">= 7.4.13, <= 7.4.13.u8","7.3.10-dxp-3",">= 7.2.10-dxp-15, <= 7.2.10-dxp-18"]}],"affected":[{"ecosystem":"Maven","package":"com.liferay.portal:release.portal.bom","vulnerableRanges":[">=7.2.0, <7.4.3.13-ga13"],"patched":["7.4.3.13-ga13"],"from":["GHSA-3qq5-wcrx-4h8r"],"provenance":"source"},{"ecosystem":"Maven","package":"com.liferay.portal:release.dxp.bom","vulnerableRanges":[">=7.2.10.fp15, <=7.2.10.fp18",">=7.4.0, <7.4.13.u9"],"patched":["7.4.13.u9"],"from":["GHSA-3qq5-wcrx-4h8r"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-22932","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-liferay-portal-cve-2022-28977","parents":[{"from":"CVE-2022-28977","to":"CVE-2024-25609","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This vulnerability is the result of an incomplete fix in CVE-2022-28977.","from":"CVE.org","in":"CVE-2024-25609"},{"kind":"same-code","provenance":"machine","files":["portal-impl/src/com/liferay/portal/util/PortalImpl.java"],"commits":["https://github.com/liferay/liferay-portal/commit/242e8bcabe3e8767799d3d1e6c021a75b4ada11b","https://github.com/liferay/liferay-portal/commit/6389885476414d3cd9e3092b4708906a5bdc8a48","https://github.com/liferay/liferay-portal/commit/3c5ee2054b44e4354cd2e53782914157ef2b5362","https://github.com/liferay/liferay-portal/commit/5c9655c941b18d8948a0c38b2bc84f4a1f83543a"],"basis":"shared function","functions":["escapeRedirect"]},{"kind":"similar","provenance":"machine","score":0.9,"basis":"same package + description similarity"}]},{"from":"CVE-2024-25608","to":"CVE-2024-25609","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["portal-impl/src/com/liferay/portal/util/PortalImpl.java"],"commits":["https://github.com/liferay/liferay-portal/commit/36adf82ef7a09c7035d4f19a1982dcde1ae3f6ae","https://github.com/liferay/liferay-portal/commit/aea651fa5110934b6a00d93391fac87985e27786","https://github.com/liferay/liferay-portal/commit/3c5ee2054b44e4354cd2e53782914157ef2b5362","https://github.com/liferay/liferay-portal/commit/5c9655c941b18d8948a0c38b2bc84f4a1f83543a"],"basis":"shared function","functions":["escapeRedirect"]},{"kind":"similar","provenance":"machine","score":0.84,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2024-26266","published":"2024-02-21","fixed":"7.4.13.u10","kev":false,"link":{"from":"CVE-2024-25609","to":"CVE-2024-26266","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.liferay.portal:release.portal.bom","fromFixed":"7.4.3.13-ga13","toFixed":"7.4.3.14","daysApart":1}]}},{"cve":"CVE-2024-25607","published":"2024-02-20","fixed":"7.4.13.u16","kev":false,"link":{"from":"CVE-2024-25609","to":"CVE-2024-25607","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.liferay.portal:release.portal.bom","fromFixed":"7.4.3.13-ga13","toFixed":"7.4.3.14","daysApart":0}]}},{"cve":"CVE-2023-37940","published":"2024-12-17","fixed":"7.4.13.u88","kev":false},{"cve":"CVE-2023-42628","published":"2023-10-17","fixed":"7.4.13.u88","kev":false},{"cve":"CVE-2023-42629","published":"2023-10-17","fixed":"7.4.13.u88","kev":false,"link":{"from":"CVE-2023-42629","to":"CVE-2024-25609","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.liferay.portal:release.dxp.bom","fromFixed":"7.4.13.u88","toFixed":"7.4.13.u9","daysApart":126}]}},{"cve":"CVE-2024-25609","published":"2024-02-20","fixed":"7.4.13.u9","kev":false},{"cve":"CVE-2024-25610","published":"2024-02-20","fixed":"7.4.13.u9","kev":false,"link":{"from":"CVE-2024-25610","to":"CVE-2024-25609","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.liferay.portal:release.portal.bom","fromFixed":"7.4.3.13","toFixed":"7.4.3.13-ga13","daysApart":0}]}},{"cve":"CVE-2023-44311","published":"2023-10-17","fixed":"7.4.13.u90","kev":false},{"cve":"CVE-2023-42498","published":"2024-02-21","fixed":"2023.Q3.5","kev":false}],"package":"Maven:com.liferay.portal:release.dxp.bom"}}