> 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/insecure-direct-object-reference-idor-attack/idors-techniques-pentesting-web.md).

# IDOR-Techniken

> Um eine IDOR-Schwachstelle auszunutzen, kann ein Angreifer versuchen, **die Kennung eines Objekts zu ändern** in der URL zu ändern oder ein automatisiertes Tool zu verwenden, um verschiedene Werte zu testen. Wenn der Angreifer eine Kennung findet, die Zugriff auf eine Ressource ermöglicht, die nicht verfügbar sein sollte, wurde die IDOR-Schwachstelle erfolgreich ausgenutzt.

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

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

## IDOR:

* wir erstellen eine Datei, die wir **gibt die Kennung zurück** als Nummer 1062:

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

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

Wenn wir nach einer anderen Nummer filtern, zeigt das an, dass das Dokument **nicht existiert**:

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

### Brute Force:

* wir starten einen Angriff mit **Brute Force** um die existierende Datei zu filtern:

```bash
wfuzz --hh=10703,1233 -c -t 200 -z range,1-1500 -d 'pdf_id=FUZZ' http://localhost:5000/download

```

<figure><img src="/files/acd4a5aad36bec9f720025d60ced1058a06d12e3" 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/web-vulnerabilities/insecure-direct-object-reference-idor-attack/idors-techniques-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.
