Erlang/OTP SSH: CVE-2025–32433
The Erlang/OTP SSH implementation allowed an unauthenticated attacker to execute arbitrary code remotely. The exploit delivers a payload before any authentication, enabling the attacker to run commands on the target system.
medium.com
Published on medium.com
CVE-2025–32433 presents a critical vulnerability in the Erlang/OTP SSH implementation, allowing for unauthenticated remote code execution (RCE). This write-up outlines the technical details and exploitation process, providing a proof of concept (PoC) for educational purposes.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the SSH server processes certain protocol messages before authentication is complete, allowing an attacker to send a command that gets executed.
Impact
An unauthenticated attacker could execute arbitrary code on the target system, potentially using it as a foothold to access other network segments.
What the attacker needed
Network access to the SSH port; no authentication required
The fix
The vulnerability should be fixed by upgrading to patched versions of Erlang/OTP, and if SSH is not essential it should be disabled, with access restricted by firewalls or ACLs.
How it was found
- Run the proof-of-concept exploit script against the target SSH service.
- The exploit sends a payload that creates a file on the target system.
- To confirm the file was created, set up a listener on the attacker machine.
- Modify the payload to send the file's contents to the listener.
- Execute the modified exploit and observe the incoming connection.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a flaw in the SSH server software that comes with Erlang/OTP, a set of tools for building scalable systems. Normally SSH requires you to log in before you can run commands, but this bug lets an attacker skip the login step and run their own code on the machine. That means anyone who can reach the SSH port could take control of the device without needing a password.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.