Liferay Portal
In Liferay Portal 7.4.3.27 through 7.4.3.42, and Liferay DXP 2024.Q1.1 through 2024.Q1.20, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 27 through update 42 (Liferay PaaS, and Liferay Self-Hosted), the Objects module does not restrict the use of Groovy scripts in Object actions for Admin Users. This allows remote authenticated admin users with the Instance Administrator role to execute arbitrary Groovy scripts (i.e., remote code execution) through Object actions. In contrast, in Liferay DXP (Liferay SaaS), the use of Groovy in Object actions is not allowed due to the high security risks it poses. Starting from Liferay DXP 2024.Q2 and later, a new feature has been introduced in Instance Settings that allows administrators to configure whether Groovy scripts are allowed in their instances.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 7.4.3.27, <= 7.4.3.42
- >= 7.4.13-u27, <= 7.4.13-u42
- >= 2023.Q3.1, <= 2023.Q3.10
- >= 2023.Q4.0, <= 2023.Q4.10
- >= 2024.Q1.1, <= 2024.Q1.20
- < 1.0.96
Fixed in 1.0.96
from GitHub Security Advisory GHSA-m5gv-vj3f-6v2p
Mitigation
Upgrade com.liferay:com.liferay.object.service to 1.0.96 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.