MLFlow < 2.12.1 File Deletion

medium Nessus Plugin ID 207347

Synopsis

The remote host is affected by a vulnerability.

Description

A broken access control vulnerability exists in mlflow/mlflow versions before 2.12.1, where low privilege users with only EDIT permissions on an experiment can delete any artifacts. This issue arises due to the lack of proper validation for DELETE requests by users with EDIT permissions, allowing them to perform unauthorized deletions of artifacts. The vulnerability specifically affects the handling of artifact deletions within the application, as demonstrated by the ability of a low privilege user to delete a directory inside an artifact using a DELETE request, despite the official documentation stating that users with EDIT permission can only read and update artifacts, not delete them.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MLFlow version 2.12.1 or later.

See Also

https://huntr.com/bounties/bfa116d3-2af8-4c4a-ac34-ccde7491ae11

http://www.nessus.org/u?051f9300

http://www.nessus.org/u?fd5dae75

Plugin Details

Severity: Medium

ID: 207347

File Name: mlflow_CVE-2024-4263.nasl

Version: 1.4

Type: combined

Published: 9/17/2024

Updated: 11/12/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.5

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:P

CVSS Score Source: CVE-2024-4263

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:lfprojects:mlflow

Required KB Items: installed_sw/MLflow

Exploit Ease: No known exploits are available

Patch Publication Date: 5/16/2024

Vulnerability Publication Date: 5/16/2024

Reference Information

CVE: CVE-2024-4263

CWE: 284