Paper/Archive/CVE-2024-3573

CVE-2024-3573

mlflow mlflow/mlflow — Local File Inclusion (LFI) via Scheme Confusion in mlflow/mlflow

Description · from the CVE record

mlflow/mlflow is vulnerable to Local File Inclusion (LFI) due to improper parsing of URIs, allowing attackers to bypass checks and read arbitrary files on the system. The issue arises from the 'is_local_uri' function's failure to properly handle URIs with empty or 'file' schemes, leading to the misclassification of URIs as non-local. Attackers can exploit this by crafting malicious model versions with specially crafted 'source' parameters, enabling the reading of sensitive files within at least two directory levels from the server's root.

Affected

ProductAffectedFixed inSource
mlflow/mlflowunspecified – < 2.10.02.10.0CNA
mlflow< 2.10.02.10.0CISA-ADP

Scores by source

@huntr_ai (CNA)9.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
NVD9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

refhuntr.com/bounties/8ea058a7-4ef8-4baf-9198-bc0147fc543crefgithub.com/mlflow/mlflow/commit/438a450714a3ca06285eeea34bdc6cf79d7f6cbc