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

# Pluck

## Vulnérabilité de Pluck /\[CVE-2023-50564] <a href="#pluck-content-manager-vulnerability" id="pluck-content-manager-vulnerability"></a>

Le port 80 expose un service web Pluck.

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

Le `login.php` Le fichier nécessite un mot de passe pour accéder à l'interface du gestionnaire.

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

La version du gestionnaire de contenu est `4.7.18`, qui est vulnérable à l'exécution de code à distance (RCE).

<figure><img src="/files/13f4e678a00e8956eb9a2c80b4c5adf065c8abb9" alt=""><figcaption></figcaption></figure>

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

### Phase d'exploitation :

1. Clonez le dépôt contenant le script d'exploitation :

```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. Modifiez `poc.py` avec l'adresse IP du serveur et le mot de passe `_iloveyou1_`.

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

2. Puis créez `payload.zip` contenant [`shell.php`](https://raw.githubusercontent.com/pentestmonkey/php-reverse-shell/refs/heads/master/php-reverse-shell.php), en mettant à jour les champs `your_ip` du port du listener.

<figure><img src="/files/46489a13e4a6061a1e3ca560a9e88801e83d5447" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/298bbe113032756a3262ad443dae8dac6858420d" alt="" width="512"><figcaption></figcaption></figure>

5. Exécutez le script d'exploitation :

```bash
python poc.py

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

<figure><img src="/files/56316c52de753f32dbe6f1c4d172870231bac57b" alt=""><figcaption></figcaption></figure>

En parallèle, ouvrez un écouteur Netcat sur le port `4444` et obtenez l'accès au serveur en tant que `www-data`.

<figure><img src="/files/1c3f4a6bb3f7a504779fe1cf4a7b46152372e802" 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/fr/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.
