CVE-2024-26271 Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the My Account Widget

High 8.8 Published Updated

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.

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenFrom 2023.Q3.12023.Q3.6
com.liferay.portal:release.dxp.bom MavenFrom 2023.Q3.12023.Q3.6
com.liferay.portal:release.dxp.bom MavenFrom 2023.Q4.02023.Q4.3
com.liferay.portal:release.dxp.bom MavenFrom 2023.Q4.02023.Q4.3
com.liferay.portal:release.dxp.bom MavenFrom 7.3u327.3u37
com.liferay.portal:release.dxp.bom MavenFrom 7.3u327.3u37
4 more packages
com.liferay.portal:release.dxp.bom MavenFrom 7.4u757.4u93
com.liferay.portal:release.dxp.bom MavenFrom 7.4u757.4u93
com.liferay.portal:release.portal.bom MavenFrom 7.4.3.757.4.3.112
com.liferay.portal:release.portal.bom MavenFrom 7.4.3.757.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.

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as GHSA-6c4v-x9v2-rjm8.

Is CVE-2024-26271 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free