CVE Vulnerabilities

CVE-2019-1010178

Incorrect Use of Privileged APIs

Published: Jul 24, 2019 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Fred MODX Revolution < 1.0.0-beta5 is affected by: Incorrect Access Control - CWE-648. The impact is: Remote Code Execution. The component is: assets/components/fred/web/elfinder/connector.php. The attack vector is: Uploading a PHP file or change data in the database. The fixed version is: https://github.com/modxcms/fred/commit/139cefac83b2ead90da23187d92739dec79d3ccd and https://github.com/modxcms/fred/commit/01f0a3d1ae7f3970639c2a0db1887beba0065246.

Weakness

The product does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly.

Affected Software

Name Vendor Start Version End Version
Fred Modx 1.0.0 (including) 1.0.0 (including)
Fred Modx 1.0.0-beta2 (including) 1.0.0-beta2 (including)
Fred Modx 1.0.0-beta4 (including) 1.0.0-beta4 (including)
Fred Modx 1.0.0-pl (including) 1.0.0-pl (including)
Fred Modx 1.0.0-rc (including) 1.0.0-rc (including)
Fred Modx 1.0.0-rc1 (including) 1.0.0-rc1 (including)
Fred Modx 1.0.0-rc2 (including) 1.0.0-rc2 (including)

Extended Description

When a product contains certain functions that perform operations requiring an elevated level of privilege, the caller of a privileged API must be careful to:

If the caller of the API does not follow these requirements, then it may allow a malicious user or process to elevate their privilege, hijack the process, or steal sensitive data. For instance, it is important to know if privileged APIs do not shed their privileges before returning to the caller or if the privileged function might make certain assumptions about the data, context or state information passed to it by the caller. It is important to always know when and how privileged APIs can be called in order to ensure that their elevated level of privilege cannot be exploited.

Potential Mitigations

References