Skip to content
OpenAdvisories
High · 7.5 Scanner template Public exploit CVE-2024-2928 BIT-mlflow-2024-2928EUVD-2024-2083GHSA-j46q-5pxx-8vmwPYSEC-2024-242

Local File Inclusion (LFI) via URI Fragment Parsing in mlflow/mlflow

Published Jun 6, 2024 · Updated Aug 1, 2024 · Assigned by @huntr_ai

Description

A Local File Inclusion (LFI) vulnerability was identified in mlflow/mlflow, specifically in version 2.9.2, which was fixed in version 2.11.3. This vulnerability arises from the application's failure to properly validate URI fragments for directory traversal sequences such as '../'. An attacker can exploit this flaw by manipulating the fragment part of the URI to read arbitrary files on the local file system, including sensitive files like '/etc/passwd'. The vulnerability is a bypass to a previous patch that only addressed similar manipulation within the URI's query string, highlighting the need for comprehensive validation of all parts of a URI to prevent LFI attacks.

Affected products

VendorProductAffectedFixed
mlflow mlflow/mlflow unspecified – < 2.11.3 2.11.3

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

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.11.3 2.11.3 GHSA-j46q-5pxx-8vmw

References