MLflow Use of Default Password Authentication Bypass Vulnerability
The MLflow basic_auth.ini file contains hard-coded default credentials, allowing remote attackers to bypass authentication without any credentials. An attacker could then execute arbitrary code with administrator privileges.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to bypass authentication on affected installations of MLflow. Authentication is not 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 basic_auth.ini configuration file was shipped with hard-coded default credentials that were not changed or required to be changed on installation.
Impact
A remote, unauthenticated attacker could bypass authentication and execute arbitrary code with administrator privileges.
What the attacker needed
Network access to the MLflow instance; default credentials unchanged
The fix
The issue was fixed in version 3.16.1.
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.
MLflow is a tool for managing machine learning projects. It shipped with a default username and password written directly into a configuration file, so anyone who knew or guessed those defaults could log in as an administrator. Once logged in, they could run their own code on the server.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.