Skip to content
Business logic Disclosed report Intermediate CVE-2024-3099

Undefined Behavior in mlflow

The application failed to properly validate model names, allowing an attacker to create multiple models with the same name by using URL encoding. This could lead to denial of service for legitimate users and enable data model poisoning if a victim uses the poisoned model.

mlflow

Originally disclosed on huntr

A vulnerability in mlflow/mlflow version 2.11.1 allows attackers to create multiple models with the same name by exploiting URL encoding. This flaw can lead to Denial of Service (DoS) as an authenticated user might not be able to use the intended model, as it will open a different model each time. Additionally, an attacker can exploit this vulnerability to perform data model poisoning by creating a model with the same name, potentially causing an authenticated user to become a victim by using the poisoned model. The issue stems from inadequate validation of model names, allowing for the creation of models with URL-encoded names that are treated as distinct from their URL-decoded counterparts.

From the GitHub Advisory Database (GHSA-8f8q-q2j7-7j2m, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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 application does not normalise or validate model names consistently, so URL-encoded names are treated as distinct from their decoded equivalents.

Impact

An authenticated user might not be able to use the intended model, and an attacker could perform data model poisoning by creating a model with the same name, potentially causing a victim to use the poisoned model.

What the attacker needed

Authenticated user

The fix

The application should normalise model names by decoding URL-encoded characters and enforce uniqueness based on the decoded name.

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.

When you create a model, the name is checked. But if you use special characters like %20 (which stands for a space), the system treats it as a different name even though it looks the same after decoding. This means an attacker can create a fake model with the same name as a real one, and users might accidentally use the fake one, causing problems or even poisoning their data.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from mlflow

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.