
针对 Pluck CMS 4.7.18 版本中 CVE-2023-50564 漏洞的概念验证
此仓库包含针对 Pluck CMS 4.7.18 版本中 CVE-2023-50564 漏洞的概念验证代码。

CVE-2023-50564 是一个允许在 Pluck CMS 4.7.18 版本中未经授权上传文件的漏洞。该利用程序利用了模块安装功能中的缺陷,上传包含 PHP shell 的 ZIP 文件,从而实现远程命令执行。
requests 和 requests_toolbelt 包你可以使用以下命令安装所需的包:
pip install requests requests_toolbelt
git clone https://github.com/Rai2en/CVE-2023-50564_Pluck-v4.7.18_PoC.git
cd CVE-2023-50564_Pluck-v4.7.18_PoC
将 PoC 脚本中的 替换为目标域名或 IP 地址。
创建一个包含 shell.php 的 payload.zip 文件。我推荐使用 pentestmonkey PHP 反弹 shell,并将 <your_ip> 和 <port> 字段替换为你的 IP 和监听端口。
运行 PoC 脚本:
python exploit.py
系统将提示你输入 ZIP 文件的路径:
ZIP file path: ./path/to/payload.zip
Login successful
ZIP file upload successfuly.
<output of the executed shell.php>
ZIP file upload error. Response code: <code>
确保 shell.php 文件包含正确的反弹 shell,并且你的监听器正在指定端口上等待连接。