CVE-2022-25146: CSRF
The Remote App module before 2.0.21 from Liferay Portal v7.4.3.4 through v7.4.3.8 and Liferay DXP 7.4 before update 5 does not check if the origin of event messages it receives matches the origin of the Remote App, allowing attackers to exfiltrate the CSRF token via a crafted event message.
Other sources
The Remote App module in Liferay Portal Liferay Portal v7.4.3.4 through v7.4.3.8 and Liferay DXP 7.4 before update 5 does not check if the origin of event messages it receives matches the origin of the Remote App, allowing attackers to exfiltrate the CSRF token via a crafted event message.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/com.liferay.portal:release.dxp.bomto a version that resolves this vulnerability.Fixed in 7.4.13.u5 - Upgrade
Upgrade
maven/com.liferay:com.liferay.remote.app.webto a version that resolves this vulnerability.Fixed in 2.0.21 - Upgrade
Upgrade
Liferay Portal Remote App module / Liferay DXP Remote Appto a version that resolves this vulnerability.Fixed in 2.0.21
Event History
Frequently Asked Questions
What is CVE-2022-25146?
CVE-2022-25146 is a vulnerability in Liferay Portal and Liferay DXP that allows attackers to exfiltrate the CSRF token via a crafted event message.
What is the severity of CVE-2022-25146?
The severity of CVE-2022-25146 is medium, with a CVSS score of 5.3.
How does CVE-2022-25146 affect Liferay Portal and Liferay DXP?
CVE-2022-25146 affects Liferay Portal v7.4.3.4 through v7.4.3.8 and Liferay DXP 7.4 before update 5.
How can an attacker exploit CVE-2022-25146?
An attacker can exploit CVE-2022-25146 by sending a crafted event message to the Remote App module in Liferay Portal or Liferay DXP, allowing them to exfiltrate the CSRF token.
Are there any references for CVE-2022-25146?
Yes, you can find references for CVE-2022-25146 at the following links: [1] http://liferay.com. [2] https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-25146-csrf-token-exfiltration-via-remote-apps. [3] https://www.securitum.pl