Horizon Alert
Summary of the vulnerability and why it matters
MLflow, an open-source platform for AI engineering, has a vulnerability where an unauthenticated user can potentially access internal or cloud metadata services. This could allow an attacker to retrieve sensitive information or compromise systems that provide metadata. The issue is addressed in version 3.15.0.
- Webhooks can be tricked to expose sensitive data.
- MLflow is a critical platform for AI and machine learning operations.
- Confirm MLflow usage and assess exposure to internal services.
Attack Path
How an attacker could exploit the issue
An attacker can trigger this vulnerability by sending a specially crafted request to the MLflow API's webhook test endpoint. This endpoint, when processing the webhook URL, does not consistently validate the redirected URL, allowing an attacker to guide the request towards sensitive internal or cloud metadata services. The response from these services, including status and body, can then be exposed to the attacker.
- No authentication required.
- Triggered by calling a webhook test endpoint.
- Exposes internal service details.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an unauthenticated attacker to interact with internal or cloud metadata services by exploiting a weakness in how MLflow handles webhook URLs. When a webhook is tested, the system may not properly validate the final resolved URL after redirects, potentially exposing sensitive information.
- Internal or cloud metadata services.
- Unauthenticated POST request to webhook endpoint.
- Disclosure of metadata service response data.
Operational Fix
Recommended remediation, mitigation, and detection steps
Teams responsible for MLflow, such as platform or AI/ML engineering teams, should lead the response. The initial step involves identifying all MLflow instances, assessing their network exposure and business criticality, and locating the accountable owner before planning remediation based on risk.
- MLflow platform or AI/ML engineering teams.
- Verify network exposure and business criticality.
- Plan remediation based on identified risk.