CVE-2024-3573CWE-29

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

Critical · published April 16, 2024

CVSS v3.0
9.3
EPSS
1%
Percentile
53.8
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in mlflow/mlflow exposes your system to Local File Inclusion (LFI) — just a crafty URI can read files across your server! 🔥 Think of it as a restaurant where the waiter misreads your order and goes rummaging through the kitchen for secret recipes, accessing areas no customer should touch! In this case, improper URI parsing allows attackers to access restricted files as if they were merely local requests. An attacker could potentially read sensitive files on your server, leading to a full compromise of confidential data. The ability to bypass checks and access files two directory levels deep is absolutely devastating, allowing them to gather secrets that could harm your organization significantly!

Put simply

Think of it as a restaurant where the waiter misreads your order and goes rummaging through the kitchen for secret recipes, accessing areas no customer should touch! In this case, improper URI parsing allows attackers to access restricted files as if they were merely local requests. The vulnerability arises from the 'is_local_uri' function failing to properly handle URIs, particularly those with empty or 'file' schemes. This misclassification allows attackers to exploit specially crafted model versions and access sensitive files.

What to do

An attacker could potentially read sensitive files on your server, leading to a full compromise of confidential data. The ability to bypass checks and access files two directory levels deep is absolutely devastating, allowing them to gather secrets that could harm your organization significantly! Immediate action is crucial: update mlflow/mlflow to the latest version that addresses this vulnerability. Review your URI handling practices and ensure strict validation and sanitization to prevent LFI exploits. Conduct an audit to identify any suspicious model versions on your systems. You've got this! With these steps, you can enhance your security and keep your data safe! 🛡️

The record
Technical detail
CVSS v3.0
9.3 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00733 · 53.8th percentile
Weakness
CWE-29 · Path Traversal: '\..\filename'
Published
2024-04-16T00:00Z
EPSS history
Timeline
  • 16 APR 00:00Z
    Local File Inclusion (LFI) via Scheme Confusion in mlflow/mlflow
    cvelistv5