CVE-2025-3586 Instance Admin can execute code using Objects Actions and Validations

Description

In Liferay Portal and Liferay DXP (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.

Severity

7.5 (CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N)

Affected Version(s)

  • Liferay Portal 7.4.3.27 through 7.4.3.42
  • Liferay DXP 2024.Q1.1 through 2024.Q1.20
  • Liferay DXP 2023.Q4.0 through 2023.Q4.10
  • Liferay DXP 2023.Q3.1 through 2023.Q3.10
  • Liferay DXP 7.4 Update 27 through Update 42

Fixed Version(s)

  • Liferay Portal 7.4.3.43
  • Liferay DXP 2024.Q2.0
  • Liferay DXP 2024.Q3.0

Publication date: Fri, 04 Oct 2024 12:02:00 +0000

Security advisories for Liferay's enterprise offerings (e.g., Liferay DXP) are only listed here since 2023. Historial advisories are availabe in the Help Center.

Community
Company
Feedback