CVE Vulnerabilities

CVE-2024-38002

Incorrect Authorization

Published: Oct 22, 2024 | Modified: Dec 10, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

The workflow component in Liferay Portal 7.3.2 through 7.4.3.111, and Liferay DXP 2023.Q4.0 through 2023.Q4.5, 2023.Q3.1 through 2023.Q3.8, 7.4 GA through update 92 and 7.3 GA through update 36 does not properly check user permissions before updating a workflow definition, which allows remote authenticated users to modify workflow definitions and execute arbitrary code (RCE) via the headless API.

Weakness

The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.

Affected Software

Name Vendor Start Version End Version
Digital_experience_platform Liferay 2023.q3.1 (including) 2023.q3.9 (excluding)
Digital_experience_platform Liferay 2023.q4.0 (including) 2023.q4.6 (excluding)
Digital_experience_platform Liferay 7.3 (including) 7.3 (including)
Digital_experience_platform Liferay 7.3-fix_pack_1 (including) 7.3-fix_pack_1 (including)
Digital_experience_platform Liferay 7.3-fix_pack_2 (including) 7.3-fix_pack_2 (including)
Digital_experience_platform Liferay 7.3-service_pack_1 (including) 7.3-service_pack_1 (including)
Digital_experience_platform Liferay 7.3-service_pack_3 (including) 7.3-service_pack_3 (including)
Digital_experience_platform Liferay 7.3-update10 (including) 7.3-update10 (including)
Digital_experience_platform Liferay 7.3-update11 (including) 7.3-update11 (including)
Digital_experience_platform Liferay 7.3-update12 (including) 7.3-update12 (including)
Digital_experience_platform Liferay 7.3-update13 (including) 7.3-update13 (including)
Digital_experience_platform Liferay 7.3-update14 (including) 7.3-update14 (including)
Digital_experience_platform Liferay 7.3-update15 (including) 7.3-update15 (including)
Digital_experience_platform Liferay 7.3-update16 (including) 7.3-update16 (including)
Digital_experience_platform Liferay 7.3-update17 (including) 7.3-update17 (including)
Digital_experience_platform Liferay 7.3-update18 (including) 7.3-update18 (including)
Digital_experience_platform Liferay 7.3-update19 (including) 7.3-update19 (including)
Digital_experience_platform Liferay 7.3-update20 (including) 7.3-update20 (including)
Digital_experience_platform Liferay 7.3-update21 (including) 7.3-update21 (including)
Digital_experience_platform Liferay 7.3-update22 (including) 7.3-update22 (including)
Digital_experience_platform Liferay 7.3-update23 (including) 7.3-update23 (including)
Digital_experience_platform Liferay 7.3-update24 (including) 7.3-update24 (including)
Digital_experience_platform Liferay 7.3-update25 (including) 7.3-update25 (including)
Digital_experience_platform Liferay 7.3-update26 (including) 7.3-update26 (including)
Digital_experience_platform Liferay 7.3-update27 (including) 7.3-update27 (including)
Digital_experience_platform Liferay 7.3-update28 (including) 7.3-update28 (including)
Digital_experience_platform Liferay 7.3-update29 (including) 7.3-update29 (including)
Digital_experience_platform Liferay 7.3-update30 (including) 7.3-update30 (including)
Digital_experience_platform Liferay 7.3-update31 (including) 7.3-update31 (including)
Digital_experience_platform Liferay 7.3-update32 (including) 7.3-update32 (including)
Digital_experience_platform Liferay 7.3-update33 (including) 7.3-update33 (including)
Digital_experience_platform Liferay 7.3-update34 (including) 7.3-update34 (including)
Digital_experience_platform Liferay 7.3-update35 (including) 7.3-update35 (including)
Digital_experience_platform Liferay 7.3-update36 (including) 7.3-update36 (including)
Digital_experience_platform Liferay 7.3-update4 (including) 7.3-update4 (including)
Digital_experience_platform Liferay 7.3-update5 (including) 7.3-update5 (including)
Digital_experience_platform Liferay 7.3-update6 (including) 7.3-update6 (including)
Digital_experience_platform Liferay 7.3-update7 (including) 7.3-update7 (including)
Digital_experience_platform Liferay 7.3-update8 (including) 7.3-update8 (including)
Digital_experience_platform Liferay 7.3-update9 (including) 7.3-update9 (including)
Digital_experience_platform Liferay 7.4 (including) 7.4 (including)
Digital_experience_platform Liferay 7.4-update1 (including) 7.4-update1 (including)
Digital_experience_platform Liferay 7.4-update10 (including) 7.4-update10 (including)
Digital_experience_platform Liferay 7.4-update11 (including) 7.4-update11 (including)
Digital_experience_platform Liferay 7.4-update12 (including) 7.4-update12 (including)
Digital_experience_platform Liferay 7.4-update13 (including) 7.4-update13 (including)
Digital_experience_platform Liferay 7.4-update14 (including) 7.4-update14 (including)
Digital_experience_platform Liferay 7.4-update15 (including) 7.4-update15 (including)
Digital_experience_platform Liferay 7.4-update16 (including) 7.4-update16 (including)
Digital_experience_platform Liferay 7.4-update17 (including) 7.4-update17 (including)
Digital_experience_platform Liferay 7.4-update18 (including) 7.4-update18 (including)
Digital_experience_platform Liferay 7.4-update19 (including) 7.4-update19 (including)
Digital_experience_platform Liferay 7.4-update2 (including) 7.4-update2 (including)
Digital_experience_platform Liferay 7.4-update20 (including) 7.4-update20 (including)
Digital_experience_platform Liferay 7.4-update21 (including) 7.4-update21 (including)
Digital_experience_platform Liferay 7.4-update22 (including) 7.4-update22 (including)
Digital_experience_platform Liferay 7.4-update23 (including) 7.4-update23 (including)
Digital_experience_platform Liferay 7.4-update24 (including) 7.4-update24 (including)
Digital_experience_platform Liferay 7.4-update25 (including) 7.4-update25 (including)
Digital_experience_platform Liferay 7.4-update26 (including) 7.4-update26 (including)
Digital_experience_platform Liferay 7.4-update27 (including) 7.4-update27 (including)
Digital_experience_platform Liferay 7.4-update28 (including) 7.4-update28 (including)
Digital_experience_platform Liferay 7.4-update29 (including) 7.4-update29 (including)
Digital_experience_platform Liferay 7.4-update3 (including) 7.4-update3 (including)
Digital_experience_platform Liferay 7.4-update30 (including) 7.4-update30 (including)
Digital_experience_platform Liferay 7.4-update31 (including) 7.4-update31 (including)
Digital_experience_platform Liferay 7.4-update32 (including) 7.4-update32 (including)
Digital_experience_platform Liferay 7.4-update33 (including) 7.4-update33 (including)
Digital_experience_platform Liferay 7.4-update34 (including) 7.4-update34 (including)
Digital_experience_platform Liferay 7.4-update35 (including) 7.4-update35 (including)
Digital_experience_platform Liferay 7.4-update36 (including) 7.4-update36 (including)
Digital_experience_platform Liferay 7.4-update37 (including) 7.4-update37 (including)
Digital_experience_platform Liferay 7.4-update38 (including) 7.4-update38 (including)
Digital_experience_platform Liferay 7.4-update39 (including) 7.4-update39 (including)
Digital_experience_platform Liferay 7.4-update4 (including) 7.4-update4 (including)
Digital_experience_platform Liferay 7.4-update40 (including) 7.4-update40 (including)
Digital_experience_platform Liferay 7.4-update41 (including) 7.4-update41 (including)
Digital_experience_platform Liferay 7.4-update42 (including) 7.4-update42 (including)
Digital_experience_platform Liferay 7.4-update43 (including) 7.4-update43 (including)
Digital_experience_platform Liferay 7.4-update44 (including) 7.4-update44 (including)
Digital_experience_platform Liferay 7.4-update45 (including) 7.4-update45 (including)
Digital_experience_platform Liferay 7.4-update46 (including) 7.4-update46 (including)
Digital_experience_platform Liferay 7.4-update47 (including) 7.4-update47 (including)
Digital_experience_platform Liferay 7.4-update48 (including) 7.4-update48 (including)
Digital_experience_platform Liferay 7.4-update49 (including) 7.4-update49 (including)
Digital_experience_platform Liferay 7.4-update5 (including) 7.4-update5 (including)
Digital_experience_platform Liferay 7.4-update50 (including) 7.4-update50 (including)
Digital_experience_platform Liferay 7.4-update51 (including) 7.4-update51 (including)
Digital_experience_platform Liferay 7.4-update52 (including) 7.4-update52 (including)
Digital_experience_platform Liferay 7.4-update53 (including) 7.4-update53 (including)
Digital_experience_platform Liferay 7.4-update54 (including) 7.4-update54 (including)
Digital_experience_platform Liferay 7.4-update55 (including) 7.4-update55 (including)
Digital_experience_platform Liferay 7.4-update56 (including) 7.4-update56 (including)
Digital_experience_platform Liferay 7.4-update57 (including) 7.4-update57 (including)
Digital_experience_platform Liferay 7.4-update58 (including) 7.4-update58 (including)
Digital_experience_platform Liferay 7.4-update59 (including) 7.4-update59 (including)
Digital_experience_platform Liferay 7.4-update6 (including) 7.4-update6 (including)
Digital_experience_platform Liferay 7.4-update60 (including) 7.4-update60 (including)
Digital_experience_platform Liferay 7.4-update61 (including) 7.4-update61 (including)
Digital_experience_platform Liferay 7.4-update62 (including) 7.4-update62 (including)
Digital_experience_platform Liferay 7.4-update63 (including) 7.4-update63 (including)
Digital_experience_platform Liferay 7.4-update64 (including) 7.4-update64 (including)
Digital_experience_platform Liferay 7.4-update65 (including) 7.4-update65 (including)
Digital_experience_platform Liferay 7.4-update66 (including) 7.4-update66 (including)
Digital_experience_platform Liferay 7.4-update67 (including) 7.4-update67 (including)
Digital_experience_platform Liferay 7.4-update68 (including) 7.4-update68 (including)
Digital_experience_platform Liferay 7.4-update69 (including) 7.4-update69 (including)
Digital_experience_platform Liferay 7.4-update7 (including) 7.4-update7 (including)
Digital_experience_platform Liferay 7.4-update70 (including) 7.4-update70 (including)
Digital_experience_platform Liferay 7.4-update71 (including) 7.4-update71 (including)
Digital_experience_platform Liferay 7.4-update72 (including) 7.4-update72 (including)
Digital_experience_platform Liferay 7.4-update73 (including) 7.4-update73 (including)
Digital_experience_platform Liferay 7.4-update74 (including) 7.4-update74 (including)
Digital_experience_platform Liferay 7.4-update75 (including) 7.4-update75 (including)
Digital_experience_platform Liferay 7.4-update76 (including) 7.4-update76 (including)
Digital_experience_platform Liferay 7.4-update77 (including) 7.4-update77 (including)
Digital_experience_platform Liferay 7.4-update78 (including) 7.4-update78 (including)
Digital_experience_platform Liferay 7.4-update79 (including) 7.4-update79 (including)
Digital_experience_platform Liferay 7.4-update8 (including) 7.4-update8 (including)
Digital_experience_platform Liferay 7.4-update80 (including) 7.4-update80 (including)
Digital_experience_platform Liferay 7.4-update81 (including) 7.4-update81 (including)
Digital_experience_platform Liferay 7.4-update82 (including) 7.4-update82 (including)
Digital_experience_platform Liferay 7.4-update83 (including) 7.4-update83 (including)
Digital_experience_platform Liferay 7.4-update84 (including) 7.4-update84 (including)
Digital_experience_platform Liferay 7.4-update85 (including) 7.4-update85 (including)
Digital_experience_platform Liferay 7.4-update86 (including) 7.4-update86 (including)
Digital_experience_platform Liferay 7.4-update87 (including) 7.4-update87 (including)
Digital_experience_platform Liferay 7.4-update88 (including) 7.4-update88 (including)
Digital_experience_platform Liferay 7.4-update89 (including) 7.4-update89 (including)
Digital_experience_platform Liferay 7.4-update9 (including) 7.4-update9 (including)
Digital_experience_platform Liferay 7.4-update90 (including) 7.4-update90 (including)
Digital_experience_platform Liferay 7.4-update91 (including) 7.4-update91 (including)
Digital_experience_platform Liferay 7.4-update92 (including) 7.4-update92 (including)
Liferay_portal Liferay 7.3.2 (including) 7.3.7 (including)
Liferay_portal Liferay 7.4.0 (including) 7.4.3.112 (excluding)

Extended Description

Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.

Potential Mitigations

  • Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries.
  • Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, consider using authorization frameworks such as the JAAS Authorization Framework [REF-233] and the OWASP ESAPI Access Control feature [REF-45].
  • For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page.
  • One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.

References