Path Traversal in mlflow/mlflow 2.11.0 via URL Fragment Bypass
CVE-2024-3848 is a path traversal vulnerability in mlflow/mlflow version 2.11.0, which serves as a bypass for the previously patched CVE-2023-6909. The vulnerability is due to improper validation of artifact URLs, specifically the fragment portion (after the '#' character). An attacker can craft a URL with a '#' to inject a filesystem path into the fragment, which is then used by the application to access files, bypassing protocol scheme validation. This allows arbitrary file read, including sensitive files such as SSH and cloud keys.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to read arbitrary files from the server's filesystem, including sensitive credentials and keys, potentially leading to further compromise of the system or associated cloud infrastructure.
If you can’t patch tonight, do this now.
Restrict access to the mlflow server to trusted users and networks only. Employ file system permissions to limit the exposure of sensitive files. Monitor logs for suspicious artifact URL access patterns and consider application-layer filtering of artifact URLs to block those containing fragments or suspicious path elements.
Patch, then assume compromise.
Upgrade to a patched version of mlflow/mlflow where proper validation of the URL fragment is enforced and path traversal via the fragment is prevented. Ensure that artifact URL handling strictly validates and sanitizes all components of the URL, including the fragment.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.