Browse / AI Framework and Platform Flaws / CVE-2024-1483
mlflow Path Traversal vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Path traversal and file access
- Affected
- mlflow (PyPI)
- Gets past
- Path restriction
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 2.7% chance of exploitation in 30 days
How it works, in short
Crafted artifact_location and source values using a '#' local URI bypass insufficient path validation, letting requests read arbitrary server files. (Our summary, written by a model. The source text is below.)
Details
A path traversal vulnerability exists in mlflow/mlflow version 2.9.2, allowing attackers to access arbitrary files on the server. By crafting a series of HTTP POST requests with specially crafted 'artifact_location' and 'source' parameters, using a local URI with '#' instead of '?', an attacker can traverse the server's directory structure. The issue occurs due to insufficient validation of user-supplied input in the server's handlers.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1483
- https://github.com/mlflow/mlflow
- https://huntr.com/bounties/52a3855d-93ff-4460-ac24-9c7e4334198d
Source: GitHub Advisory Database, used under CC BY 4.0.