Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2024-2928 PoC — Local File Inclusion (LFI) via URI Fragment Parsing in mlflow/mlflow

Source
Associated Vulnerability
Title:Local File Inclusion (LFI) via URI Fragment Parsing in mlflow/mlflow (CVE-2024-2928)
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.
Description
Arbitrary file read exploit for CVE-2024-2928 in mlflow 
Readme
# CVE-2024-2928
Arbitrary file read exploit for CVE-2024-2928 in mlflow (specifically in version 2.9.2, which was fixed in version 2.11.3)

The exploit code tested on Linux

Source: https://huntr.com/bounties/19bf02d7-6393-4a95-b9d0-d6d4d2d8c298

Usage python3 CVE-2024-2928.py -t 127.0.0.1 -p 5000

* After run, give the full path of the file
  * If the file exists and the process has sufficient permissions to read it, than the contents will be displayed
  * Otherwise "File not found" message will appear

* Press Ctrl + C to exit
File Snapshot

[4.0K] /data/pocs/9f38aa8dfb9c944f8858a85211c05d336bb83663 ├── [2.6K] CVE-2024-2928.py ├── [1.0K] LICENSE └── [ 535] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →