> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/cms/pluck-cms-exploitation.md).

# Pluck

## Pluck 漏洞 /\[CVE-2023-50564] <a href="#pluck-content-manager-vulnerability" id="pluck-content-manager-vulnerability"></a>

80端口暴露了一个 Pluck Web 服务。

<figure><img src="/files/51ce10d7df019b76135a4b467b131958becf0edf" alt=""><figcaption></figcaption></figure>

该 `login.php` 该文件需要密码才能访问管理界面。

<figure><img src="/files/745a3a4ce922eb1ae2479090c1fa8e1ca0d574f9" alt=""><figcaption></figcaption></figure>

内容管理器版本为 `4.7.18`，存在远程代码执行（RCE）漏洞。

<figure><img src="/files/82d9d7f32c51be097a68e3b57b23cb0889a2fb05" alt=""><figcaption></figcaption></figure>

{% embed url="<https://github.com/Rai2en/CVE-2023-50564_Pluck-v4.7.18_PoC>" %}

### 利用阶段：

1. 克隆包含利用脚本的仓库：

```bash
git clone https://github.com/Rai2en/CVE-2023-50564_Pluck-v4.7.18_PoC.git
cd CVE-2023-50564_Pluck-v4.7.18_PoC
```

2. 修改 `poc.py` ，并使用服务器 IP 和密码 `_iloveyou1_`.

<figure><img src="/files/bb1189079a5f203d5ebfff31544601f59bc971d5" alt=""><figcaption></figcaption></figure>

2. 然后创建 `payload.zip` 其中包含 [`shell.php`](https://raw.githubusercontent.com/pentestmonkey/php-reverse-shell/refs/heads/master/php-reverse-shell.php)，并更新 `your_ip` 和监听端口字段。

<figure><img src="/files/981513ea7ab72ad7b3da45baff70b90f9bdef7f9" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/07f026db151b1936d746cc2a9f33af2236517a46" alt="" width="512"><figcaption></figcaption></figure>

5. 运行利用脚本：

```bash
python poc.py

/home/jordan/......./payload.zip
```

<figure><img src="/files/2734d1330ed5e4f6a7e019ae6c5edb590daae13e" alt=""><figcaption></figcaption></figure>

同时，在端口上打开一个 Netcat 监听器 `4444` 并以……身份获得服务器访问权限 `www-data`.

<figure><img src="/files/38fe717f05a0934f9b5a40bcd0eadbbe14ffc002" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/zh/cms/pluck-cms-exploitation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
