> 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/web/access-control/insecure-direct-references-to-objects.md).

# Unsichere direkte Objektverweise

### Unsichere direkte Objektverweise

**Laborziel:** Benutzer-Chatprotokolle werden direkt im Dateisystem des Servers gespeichert und über statische URLs abgerufen. Das Ziel ist, das Passwort des Benutzers zu finden **carlos** und sich dann bei seinem Konto anmelden.

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

Es wird eine E-Mail-Funktion beobachtet, mit der Option, die Chat-Transkription über eine **GET** Anfrage.

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

Die URL lautet wie folgt:

```
/download-transcript/1.txt
```

Durch einfaches Ändern der Dateikennung in der URL ist es möglich, ohne jeglichen Schutz auf Transkripte anderer Benutzer zuzugreifen. Zum Beispiel:

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

Diese Datei zeigt den Inhalt einer Unterhaltung, die **das Passwort von Carlos**.


---

# 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/web/access-control/insecure-direct-references-to-objects.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.
