MISFIRE

Browse / AI Framework and Platform Flaws / CVE-2024-4263

MLflow allows low privilege users to delete any artifact

CVE-2024-4263 ยท 2024-05-16 moderate

Class
AI Framework and Platform Flaws (filed by a model that read the source)
Technique
Authentication and access control
Affected
mlflow (PyPI)
Gets past
Authorisation check
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS
0.3% chance of exploitation in 30 days

How it works, in short

Users with only edit permission on an experiment can send DELETE requests that remove artifacts, which the documented permissions do not allow. (Our summary, written by a model. The source text is below.)

Details

A broken access control vulnerability exists in mlflow/mlflow versions before 2.10.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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.