> 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-vulnerabilities/graphql-attack/graphql-idor-pentesting-web.md).

# GraphQL IDOR

{% hint style="info" %}
Im Kontext von **GraphQL, das IDOR** (Unsichere direkte Objektverweise) können auftreten, wenn ein Angreifer in der Lage ist, Anmeldedaten (IDs) von Objekten innerhalb der API zu erraten oder aufzulisten und diese IDs verwenden kann, um auf Objekte zuzugreifen, auf die er keinen Zugriff haben sollte. Dies kann auftreten, weil die Entwickler der API die Mechanismen für Authentifizierung und Autorisierung in ihrer API möglicherweise nicht korrekt implementiert haben.
{% endhint %}

Phase der Aufklärung der Pfade der Website:

```bash
gobuster dir -u http://localhost:5000/ -w /usr/share/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt -t 20

```

<figure><img src="/files/88497da55cf08b2c370425f5f865262746073cff" alt=""><figcaption></figcaption></figure>

Wir finden in dem Abschnitt onb dieses Repository **Einstellungen**:

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

Wir **abfangen** die Anfrage mit Burp Suite:

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

Der Server gibt zurück von **vertrauliche Informationen** über andere Benutzer, wenn wir die **id** Benutzer:

<figure><img src="/files/45fe044133c166f7c7d317711551563a67c45520" 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/web-vulnerabilities/graphql-attack/graphql-idor-pentesting-web.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.
