CVE-2024-26271 Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the My Account Widget
Remote attackers can exploit CSRF in the My Account widget to change passwords, shut down servers, or execute arbitrary code via administrative actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-26271?
CVE-2024-26271 is a high-severity vulnerability in Liferay Digital Experience Platform, published on 22 Oct 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site request forgery (CSRF) vulnerability in the My Account widget in Liferay Portal 7.4.3.75 through 7.4.3.111, and Liferay DXP 2023.Q4.0 through 2023.Q4.2, 2023.Q3.1 through 2023.Q3.5, 7.4 update 75 through update 92 and 7.3 update 32 through update 36 allows remote attackers to (1) change user passwords, (2) shut down the server, (3) execute arbitrary code in the scripting console, (4) and perform other administrative actions via the _com_liferay_my_account_web_portlet_MyAccountPortlet_backURL parameter.
Weakness: CWE-352
Which versions are affected by CVE-2024-26271?
10 open source packages ship an affected version, including com.liferay.portal:release.dxp.bom and com.liferay.portal:release.portal.bom. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
com.liferay.portal:release.dxp.bom Maven | From 2023.Q3.1 | 2023.Q3.6 |
com.liferay.portal:release.dxp.bom Maven | From 2023.Q3.1 | 2023.Q3.6 |
com.liferay.portal:release.dxp.bom Maven | From 2023.Q4.0 | 2023.Q4.3 |
com.liferay.portal:release.dxp.bom Maven | From 2023.Q4.0 | 2023.Q4.3 |
com.liferay.portal:release.dxp.bom Maven | From 7.3u32 | 7.3u37 |
com.liferay.portal:release.dxp.bom Maven | From 7.3u32 | 7.3u37 |
4 more packages
com.liferay.portal:release.dxp.bom Maven | From 7.4u75 | 7.4u93 |
com.liferay.portal:release.dxp.bom Maven | From 7.4u75 | 7.4u93 |
com.liferay.portal:release.portal.bom Maven | From 7.4.3.75 | 7.4.3.112 |
com.liferay.portal:release.portal.bom Maven | From 7.4.3.75 | 7.4.3.112 |
Products include Liferay Digital Experience Platform, Liferay Liferay Portal.
How do I fix CVE-2024-26271?
Upgrade com.liferay.portal:release.dxp.bom to a fixed version for your release line: 2023.Q3.6, 2023.Q4.3, 7.3u37 or 7.4u93.
Is CVE-2024-26271 being exploited?
There is no known exploitation of CVE-2024-26271 in the wild and no public exploit code.
Other vulnerabilities in Liferay Digital Experience Platform
- CVE-2024-8980 Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
- CVE-2023-42496 Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2023-42498 Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2024-25147 Liferay Portal and Liferay DXP vulnerable to Cross-site Scripting
- CVE-2024-26269 Liferay Portal Frontend JS module's portlet.js and Liferay DXP vulnerable to Cross-site Scripting
Sources
Also known as GHSA-6c4v-x9v2-rjm8.