MLflow AI Gateway Server-Side Request Forgery Information Disclosure Vulnerability
The MLflow AI Gateway did not properly validate the api_base field, allowing an authenticated attacker to make arbitrary server-side requests. This could let them reach internal resources in the context of the service account.
This vulnerability allows remote attackers to initiate arbitrary server-side requests on affected installations of MLflow. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 the api_base field was used to build a server-side request without validating or restricting the target URI.
Impact
An authenticated attacker could initiate requests in the context of the service account, potentially disclosing information from internal resources.
What the attacker needed
Authentication required
The fix
It was fixed in MLflow 3.17.0.
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.
Server-side request forgery (SSRF) is when a server is tricked into fetching a URL chosen by an attacker. Here, a logged-in user could set a field called api_base to point at internal systems, and the MLflow server would make that request for them. This can expose internal services that are not meant to be reachable from outside.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.