mlflow Path Traversal vulnerability
A path traversal vulnerability in mlflow/mlflow version 2.9.2 allows attackers to access arbitrary files on the server by sending crafted HTTP POST requests with malicious 'artifact_location' and 'source' parameters. The issue arises from insufficient validation of user-supplied input in the server's handlers.
mlflow
Originally disclosed on huntr
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.
From the GitHub Advisory Database (GHSA-f82r-jj5r-6g97, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely insufficient validation of user-supplied input in the server's handlers, allowing directory traversal via crafted parameters.
Impact
An attacker could access arbitrary files on the server, potentially leading to information disclosure.
What the attacker needed
Access to the mlflow server
How it was found
- Craft a series of HTTP POST requests.
- Include specially crafted 'artifact_location' and 'source' parameters.
- Use a local URI with '#' instead of '?'.
- Traverse the server's directory structure to access arbitrary files.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a path traversal bug. It means a program lets someone use special characters like '../' to escape the folder it should be restricted to, and read files anywhere on the computer. Here, an attacker sends web requests with tricky file paths to read files they shouldn't see.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.