> 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/ru/cms/pluck-cms-exploitation.md).

# Pluck

## Уязвимость Pluck /\[CVE-2023-50564] <a href="#pluck-content-manager-vulnerability" id="pluck-content-manager-vulnerability"></a>

На порту 80 доступен веб-сервис Pluck.

<figure><img src="/files/0a5eed776115438a32cb1554777959af70bfcc4e" alt=""><figcaption></figcaption></figure>

У `login.php` файл требует пароль для доступа к интерфейсу менеджера.

<figure><img src="/files/8aa19639005c2108f983bbdd5d6c6be48514147b" alt=""><figcaption></figcaption></figure>

Версия менеджера контента `4.7.18`, который уязвим к удалённому выполнению кода (RCE).

<figure><img src="/files/9033c77358abc855200e28affe9398153281a6a5" 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/43f9b15e7dec98bec0b8c6f4e81afc00431945ba" 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/51a82a7c3f9aa80a6dc8c19aa986741a92a2a702" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/7117c0051fa8d43df5c9695c9cfecc2e0e8d12ab" alt="" width="512"><figcaption></figcaption></figure>

5. Запустите скрипт эксплуатации:

```bash
python poc.py

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

<figure><img src="/files/5368690b74b8dd1178136411192ab36661614069" alt=""><figcaption></figcaption></figure>

Параллельно откройте слушатель Netcat на порту `4444` и получите доступ к серверу как `www-data`.

<figure><img src="/files/5e1037f14a80dacb4799bc3071eeb08c38f7a55b" 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/ru/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.
