Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-32433-LAB — A Flaw in SSH protocol message handling, a malicious actor could gain unauthorized access to affected systems and execute arbitrary commands without valid credentials in the Erlang/OTP SSH server | Kitploit
Tools/GitHubGitHub/damnkrishna/cve-2025-32433-lab
Packet Sniffing & AnalysisVulnerability ScannersContainer SecurityVulnerability AnalysisExploitationNetwork SecurityIntrusion DetectionLearning & EducationLabs & Practice
GitHubdamnkrishna/cve-2025-32433-lab

CVE-2025-32433-LAB

A Flaw in SSH protocol message handling, a malicious actor could gain unauthorized access to affected systems and execute arbitrary commands without valid credentials in the Erlang/OTP SSH server

View Repository
29h 8m agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-32433 Vulnerability Research & Security Lab

This repository provides a complete, submission-ready, containerized security research lab for CVE-2025-32433 (Erlang/OTP SSH missing authentication vulnerability). It allows security engineers, reviewers, and researchers to independently deploy, reproduce, analyze, and detect the flaw in a strictly isolated environment.


1. Lab Topology & Architecture

The lab orchestrates 3 Docker containers connected via a custom isolated bridge network (cve-lab-bridge):

root@kitploit:~
                  ┌─────────────────────────────────────────┐
                  │          Isolated Docker Bridge         │
                  │             (cve-lab-bridge)            │
                  └────┬──────────────────────────────┬─────┘
                       │                              │
        ┌──────────────┴──────────────┐┌──────────────┴──────────────┐
        │  target_vulnerable          ││  target_patched             │
        │  Erlang/OTP 26.2.5          ││  Erlang/OTP 26.2.5.11       │
        │  Host Port: 127.0.0.1:2222  ││  Host Port: 127.0.0.1:2223  │
        │  Logs: ./logs/target_vulnerable/ ││  Logs: ./logs/target_patched/   │
        └─────────────────────────────┘└─────────────────────────────┘
                                       │
                        ┌──────────────┴──────────────┐
                        │  attacker                   │
                        │  Python 3 + Scapy/Paramiko  │
                        │  Workdir: /work             │
                        └─────────────────────────────┘

2. Prerequisites

  • Docker Desktop (or Docker Engine v20.10+ & Docker Compose v2.20+)
  • Python 3.10+ (with paramiko and scapy installed)

3. Quick Start — Deploying the Lab

Clone the repository and start all lab services:

root@kitploit:~
# 1. Clone the repository
git clone <repository_url>
cd INE_CYBER_ASSIGNMENT_JOB

# 2. Build and start all 3 lab containers in detached mode
docker compose up -d --build

# 3. Verify all containers are running and healthy
docker ps

4. ONE-COMMAND MASTER DIAGNOSTIC SUITE

Run the complete 4-layer diagnostic and detection suite in one single command:

Option A: From Local Host Machine Terminal (PowerShell / CMD)

root@kitploit:~
python detection/run_all_detections.py

Option B: From inside the Attacker Container Shell

root@kitploit:~
# Enter the attacker container
docker exec -it cve-2025-32433-attacker bash

# Run the master detector inside container
python3 /work/detection/run_all_detections.py

5. Individual Execution Commands (Separated by Target & Environment)

A. Manual Interactive SSH Connection

1. From Host Machine (PowerShell / CMD):

root@kitploit:~
# Connect to Vulnerable Target (Port 2222)
ssh -p 2222 [email protected]
# Password: LabPass2026!Secured

# Connect to Patched Target (Port 2223)
ssh -p 2223 [email protected]
# Password: LabPass2026!Secured

2. From Attacker Container Shell (docker exec -it cve-2025-32433-attacker bash):

root@kitploit:~
# Connect to Vulnerable Target (Internal Port 2222)
ssh -p 2222 labuser@target_vulnerable
# Password: LabPass2026!Secured

# Connect to Patched Target (Internal Port 2222)
ssh -p 2222 labuser@target_patched
# Password: LabPass2026!Secured

B. Baseline Authentication Control Script

1. From Host Machine:

root@kitploit:~
# Test Vulnerable Target
python scripts/baseline_auth_test.py 127.0.0.1 2222

# Test Patched Target
python scripts/baseline_auth_test.py 127.0.0.1 2223

2. From Attacker Container Shell:

root@kitploit:~
# Test Vulnerable Target
python3 /work/scripts/baseline_auth_test.py target_vulnerable 2222

# Test Patched Target
python3 /work/scripts/baseline_auth_test.py target_patched 2222

C. Version-Banner Vulnerability Scanner

1. From Host Machine:

root@kitploit:~
# Scan Vulnerable Target
python detection/detect_cve_2025_32433.py 127.0.0.1 2222

# Scan Patched Target
python detection/detect_cve_2025_32433.py 127.0.0.1 2223

2. From Attacker Container Shell:

root@kitploit:~
# Scan Vulnerable Target
python3 /work/detection/detect_cve_2025_32433.py target_vulnerable 2222

# Scan Patched Target
python3 /work/detection/detect_cve_2025_32433.py target_patched 2222

D. Network Behavioral Packet IDS Monitor (Scapy)

Monitors TCP port 2222 for pre-auth SSH_MSG_CHANNEL_OPEN (Type 90 / 0x5A) packets.

root@kitploit:~
# Run inside Attacker Container shell
python3 /work/detection/network_behavior_detect.py

E. Host Process & File Integrity Monitor

Monitors the vulnerable container process table (ps aux) for spawned sub-shells.

root@kitploit:~
# Run from Host PowerShell
python detection/host_process_monitor.py

6. Log File Access & Monitoring

Erlang SSH logs are written to disk inside each container and mounted directly to your host filesystem:

  • Vulnerable Target Logs: ./logs/target_vulnerable/ssh.log
  • Patched Target Logs: ./logs/target_patched/ssh.log

Live tailing in PowerShell:

root@kitploit:~
Get-Content -Path .\logs\target_vulnerable\ssh.log -Wait -Tail 20

Refer to LOGGING.md for log schema details.


7. Remediation & Technical Patch Details

CVE-2025-32433 was remediated in Erlang/OTP 26.2.5.11 (commit b1924d3) and 27.3.3 (commit 6eef041). In the remediated target (lab_patched/), ssh_connection.erl explicitly enforces connection state validation:

root@kitploit:~
handle_msg(#ssh_msg_channel_open{}, #state{authenticated = false} = State) ->
    {disconnect, {error, unauthenticated}, State};

8. Stopping the Lab

To stop and remove all lab containers and networks:

root@kitploit:~
docker compose down
Download Tool