> 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/ports-and-services/devzat-8443.md).

# Devzat - 8443

### Port 8443 (Devzat - Produktion)

Port 8443 stellt eine produktive Devzat-Instanz bereit. Die `Datei` Der Parameter kann als root Dateien auf dem System auflisten, aber diese Funktion ist passwortgeschützt.

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

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

Versuch *catherine*'s Passwort schlägt fehl. Suche nach Dateien, die *catherine* auf dem System lesen kann.

<figure><img src="/files/99634c8258d1918f0b8fc7fa24f56311dfcbb0d9" alt="" width="538"><figcaption></figcaption></figure>

### Suche nach Dateien, die Catherine lesen kann

Finde alle Dateien, die lesbar sind von *catherine*:

```bash
find / -user catherine -readable 2>/dev/null | grep -vE "cgroup|proc"
```

Zwei Backup `.zip` Dateien werden gefunden:

* `/var/backups/devzat-main.zip`
* `/var/backups/devzat-dev.zip`

Lade die Sicherungsdatei herunter `devzat-dev.zip` und filtere deren Inhalt nach Passwörtern. Ein nützliches Passwort wird gefunden: **`CeilingCatStillAThingIn2021?`**.

<figure><img src="/files/7911a2b4e8d8e70a6d6d1ea4743b73cb5c6bdb22" alt=""><figcaption></figcaption></figure>

Verwende dieses Passwort, um auf `/etc/shadow` über die `Datei` Parameter anfällig für Open Redirect ist:

```bash
/file /etc/shadows CeilingCatStillAThingIn2021?
```

Obwohl das Passwort korrekt ist, **Path Traversal** ist erforderlich, um vollständigen Zugriff zu erhalten. Nutze Traversal, um durch das Dateisystem zu navigieren:

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

```bash
/file ../../../../etc/shadow CeilingCatStillAThingIn2021?
```

Das `/etc/shadow` Datei wird erfolgreich als root angezeigt.

<figure><img src="/files/1efa2f51fd62d2fda3eef47fba3c9d307b21123a" alt=""><figcaption></figcaption></figure>

### SSH-Zugriff als root

Verwende eine zusätzliche Path-Traversal, um auf den SSH-Schlüssel von root zuzugreifen:

```bash
/file ../../../../root/.ssh/id_rsa CeilingCatStillAThingIn2021?
```

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

Lade den SSH-Schlüssel herunter und melde dich als root an.

<figure><img src="/files/6b46c95d9dd85c515935e121b476a5781b5b8075" 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/ports-and-services/devzat-8443.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.
