GHSA-chj2-4vg7-hhg3
Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
Quick fix
GHSA-chj2-4vg7-hhg3 — com.liferay.portal:release.portal.bom: upgrade to the fixed version with the command below.
# pom.xml: bump <version>7.4.3.102-GA102</version> for com.liferay.portal:release.portal.bomDetails
The Script Console in Liferay Portal 7.0.0 through 7.4.3.101, and Liferay DXP 2023.Q3.1 through 2023.Q3.4, 7.4 GA through update 92, 7.3 GA through update 35, 7.2 GA through fix pack 20, 7.1 GA through fix pack 28, 7.0 GA through fix pack 102 and 6.2 GA through fix pack 173 does not sufficiently protect against Cross-Site Request Forgery (CSRF) attacks, which allows remote attackers to execute arbitrary Groovy script via a crafted URL or a XSS vulnerability. This issue has been patched in Liferay Portal 7.4.3.102, Liferay DXP 2024.Q1.1, Liferay DXP 2023.Q4.0, Liferay DXP 2023.Q3.5, and Liferay DXP 7.3 Update 36.
Are you affected?
Enter the version of the package you're using.
Affected packages
7.0.0-a1Fixed in: 7.4.3.102-GA102# pom.xml: bump <version>7.4.3.102-GA102</version> for com.liferay.portal:release.portal.bom2023.Q3.1Fixed in: 2023.Q3.5# pom.xml: bump <version>2023.Q3.5</version> for com.liferay.portal:release.dxp.bom7.0.0-GANo fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.1.0-GANo fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.2.0.GANo fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
7.3.0-GAFixed in: 7.3.10.u36# pom.xml: bump <version>7.3.10.u36</version> for com.liferay.portal:release.dxp.bom7.4.0-GANo fixed version published yet for com.liferay.portal:release.dxp.bom (maven). Pin to a known-safe version or switch to an alternative.
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay.portal/release.portal.bom"]}'