Skip to content
OpenAdvisories
High · 7.5 Scanner template CVE-2024-3848 BIT-mlflow-2024-3848EUVD-2024-1773GHSA-rfqq-wq6w-72jmPYSEC-2024-244

Path Traversal Bypass in mlflow/mlflow

Published May 16, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

Description

A path traversal vulnerability exists in mlflow/mlflow version 2.11.0, identified as a bypass for the previously addressed CVE-2023-6909. The vulnerability arises from the application's handling of artifact URLs, where a '#' character can be used to insert a path into the fragment, effectively skipping validation. This allows an attacker to construct a URL that, when processed, ignores the protocol scheme and uses the provided path for filesystem access. As a result, an attacker can read arbitrary files, including sensitive information such as SSH and cloud keys, by exploiting the way the application converts the URL into a filesystem path. The issue stems from insufficient validation of the fragment portion of the URL, leading to arbitrary file read through path traversal.

Affected products

VendorProductAffectedFixed
mlflow mlflow/mlflow unspecified – < 2.12.1 2.12.1

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mlflow >= 2.9.2, < 2.12.1 2.12.1 GHSA-rfqq-wq6w-72jm
PyPI mlflow < 2.12.1 2.12.1 PYSEC-2024-244

References