Skip to content

Erlang opt ssh rce (CVE-2025-32433)#366

Open
girlier wants to merge 14 commits into
cliffe:masterfrom
girlier:erlang-opt-ssh-rce
Open

Erlang opt ssh rce (CVE-2025-32433)#366
girlier wants to merge 14 commits into
cliffe:masterfrom
girlier:erlang-opt-ssh-rce

Conversation

@girlier
Copy link
Copy Markdown

@girlier girlier commented May 27, 2026

Erlang OTP SSH RCE (CVE-2025-32433)

Vulnerability module paired with an example CTF (ssh-it happens).
The Erlang OPT SSH daemon vulnerability is configured on port 2222 and can be exploited through Metasploit.

girlier and others added 14 commits March 23, 2026 18:32
- Create secgen_metadata.xml with vulnerability details
- Set CVSS 10.0, difficulty low, privilege root_rwx
- Add CyBOK mappings and references
- Document affected versions and exploit hints
- Include install, config, and service classes
- Install erlang package (vulnerable version 25.x on Debian 12)
- Install screen for daemon persistence
- Create erlang_ssh user for daemon and flag storage
- Create ssh_daemon.erl template with vulnerable SSH server
- Create start_ssh.sh startup script template
- Configure flag storage for CTF
- Set up SSH keys directory
- Compile Erlang SSH daemon module
- Generate SSH host keys
- Start daemon in screen session
- Verify port is listening
- Define class ordering: install -> config -> service
- Test Erlang installation
- Verify SSH daemon is running on port 2222
- Check vulnerability exists (OTP version 25.x or 26.x)
- Verify flag files created
- Verify beam file compiled
- Create erlang_ssh_rce scenario targeting Debian 12
- Include new erlang_otp_ssh_rce vulnerability module
- Configure SSH daemon on port 2222
- Add CyBOK mappings for CVE-2025-32433
- Replace complex Erlang module with simple escript (matches vulhub)
- Start applications in correct order: asn1, crypto, public_key, ssh
- Remove unused template files
- Simplify config.pp and service.pp
- Fix 'ssh_not_started' error by properly initializing dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant