Loading...
Skip to main content

CVE-2024-26271

HIGH

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

Published October 22, 2024Updated April 28, 2025Source: osv

Summary

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.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.liferay.portal:release.dxp.bom to 2023.Q3.6 or later
<!-- Update pom.xml dependency version to 2023.Q3.6 for com.liferay.portal:release.dxp.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.3u37 or later
<!-- Update pom.xml dependency version to 7.3u37 for com.liferay.portal:release.dxp.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.4u93 or later
<!-- Update pom.xml dependency version to 7.4u93 for com.liferay.portal:release.dxp.bom -->
Maven
Update com.liferay.portal:release.dxp.bom to 2023.Q4.3 or later
<!-- Update pom.xml dependency version to 2023.Q4.3 for com.liferay.portal:release.dxp.bom -->
Maven
Update com.liferay.portal:release.portal.bom to 7.4.3.112 or later
<!-- Update pom.xml dependency version to 7.4.3.112 for com.liferay.portal:release.portal.bom -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

PackageEcosystemAffectedFixed In
com.liferay.portal:release.dxp.bom
maven
2023.q3.1, 2023.q3.2, 2023.q3.3, 2023.q3.4 (+1 more)2023.Q3.6
com.liferay.portal:release.dxp.bom
maven
All versions7.3u37
com.liferay.portal:release.dxp.bom
maven
All versions7.4u93
com.liferay.portal:release.dxp.bom
maven
2023.q4.0, 2023.q4.1, 2023.q4.22023.Q4.3
com.liferay.portal:release.portal.bom
maven
7.4.3.100, 7.4.3.101, 7.4.3.102, 7.4.3.103 (+31 more)7.4.3.112

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-352
    Cross-Site Request Forgery (CSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-26271?
Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the My Account Widget This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2024-26271?
CVE-2024-26271 affects com.liferay.portal:release.dxp.bom and com.liferay.portal:release.portal.bom. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-26271 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-6c4v-x9v2-rjm8

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies