Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-0520— Remote Code Execution due to Full Controlled File Write in mlflow/mlflow

Quick assessment

Affected
mlflow mlflow/mlflow
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mlflow是一个机器学习生命周期的开源平台。 Mlflow存在安全漏洞,该漏洞源于操作系统命令中使用的特殊元素未正确中和,从而导致攻击者能够利用路径遍历或绝对路径技术,实现任意文件写入。

AI Predicted 9.8 Difficulty: Easy EPSS 2.40% · P83
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-0520

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Remote Code Execution due to Full Controlled File Write in mlflow/mlflow
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in mlflow/mlflow version 8.2.1 allows for remote code execution due to improper neutralization of special elements used in an OS command ('Command Injection') within the `mlflow.data.http_dataset_source.py` module. Specifically, when loading a dataset from a source URL with an HTTP scheme, the filename extracted from the `Content-Disposition` header or the URL path is used to generate the final file path without proper sanitization. This flaw enables an attacker to control the file path fully by utilizing path traversal or absolute path techniques, such as '../../tmp/poc.txt' or '/tmp/poc.txt', leading to arbitrary file write. Exploiting this vulnerability could allow a malicious user to execute commands on the vulnerable machine, potentially gaining access to data and model information. The issue is fixed in version 2.9.0.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Mlflow 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mlflow是一个机器学习生命周期的开源平台。 Mlflow存在安全漏洞,该漏洞源于操作系统命令中使用的特殊元素未正确中和,从而导致攻击者能够利用路径遍历或绝对路径技术,实现任意文件写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
mlflow mlflow/mlflow unspecified ~ 2.9.0 -

II. Public POCs for CVE-2024-0520

# POC Description Source Link Shenlong Link
1 None https://github.com/chan-068/CVE-2024-0520_try POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-0520

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-0520 (1)

Vendor Advisories for CVE-2024-0520 (1)

Same Patch Batch · mlflow · 2024-06-06 · 3 CVEs total

CVE-2024-2928 Local File Inclusion (LFI) via URI Fragment Parsing in mlflow/mlflow
CVE-2024-3099 Denial of Service and Data Model Poisoning via URL Encoding in mlflow/mlflow

IV. Related Vulnerabilities

V. Comments for CVE-2024-0520

No comments yet


Leave a comment