INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2023-6018

Remote Code Execution due to Full Controled File Write in mlflow

CVE-2023-6018 ยท 2023-11-16 critical

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Code and command execution
Affected
mlflow (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
47.9% chance of exploitation in 30 days

How it works, in short

Unrestricted file writes on the MLflow web server let an attacker overwrite files such as shell startup scripts to run commands. (Our summary, written by a model. The source text is below.)

Details

The mlflow web server includes tools for tracking experiments, packaging code into reproducible runs, and sharing and deploying models. As this vulnerability allows to write / overwrite any file on the file system, it gives a lot of ways to archive code execution (like overwriting /home/<user>/.bashrc). A malicious user could use this issue to get command execution on the vulnerable machine and get access to data & models information.

References

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