7.5

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: 

lokakuuta 4, 2024

Found a Bug?

If you have found, or think you have found a bug, help us to help you by letting us know!

Found a Security Vulnerability?

There's a different process available if you have a security issue to report...

Hall of Fame!

Raise your profile - report security vulnerabilities and enter the Hall of Fame!