2023-03-27 17:58:07 +00:00
|
|
|
id: mlflow-unauth
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Mlflow - Unauthenticated Access
|
|
|
|
author: pussycat0x
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
Unauthenticated Access to MLflow dashboard.
|
|
|
|
remediation: Add User Authentication
|
|
|
|
metadata:
|
|
|
|
verified: "true"
|
|
|
|
shodan-query: http.title:"mlflow"
|
2023-03-27 18:01:20 +00:00
|
|
|
tags: unauth,mlflow,oss,misconfig
|
2023-03-27 17:58:07 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/ajax-api/2.0/preview/mlflow/experiments/get?experiment_id=0"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "experiment_id"
|
|
|
|
- "name"
|
|
|
|
- "artifact_location"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
name: version
|
|
|
|
internal: true
|
|
|
|
group: 1
|
|
|
|
regex:
|
2023-03-27 18:01:20 +00:00
|
|
|
- '"version": "([0-9.]+)",'
|