> 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/owasp-top-10-vulnerabilities/vulnerability-cross-site-request-forgery-csrf/csrf-user-information-manipulation-pentesting-web.md).

# CSRF-Manipulation von Benutzerinformationen

Wir beginnen mit **fangen ab** einer Namensänderungsanfrage mit Burp Suite:

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

Wir überprüfen, ob dieselbe Anfrage in **GET**:

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

Mit **GET**, wir senden eine Anfrage, indem wir den Namen ändern und das Entfernen des **Token** und die **Zeitstempels** um zu sehen, ob sie absolut notwendig sind oder nicht:

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

Wir können sehen, dass der Benutzername **ohne Formulare geändert wurde**, daher sind die beiden Felder nicht notwendig:

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

In der \*\*Freundesliste\*\* finden wir die \*\*ID\*\* unseres Opfers:

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

Wir versuchen, die Anfrage auszulösen, indem wir die **Benutzer-ID** mit der des Opfers (59) und indem wir das **Namensfeld** (in diesem Fall haben wir nicht die notwendigen Berechtigungen):

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

Da die Anfrage mit **GET**, wenn wir den **Link** an das Opfer senden und es ihn von seinem Konto aus öffnet, wird sein Name geändert, weil es die erforderlichen **Berechtigungen**:

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

In diesem Fall ist es nicht möglich, aber wenn es kein **aktuelles Passwort** Feld gäbe, könnten wir das Passwort des Benutzers ändern:

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

Eine Möglichkeit wäre, ihnen den Link per **GET**; wenn sie **öffnen** ihn, werden die Änderungen übernommen. In manchen Fällen können wir Nachrichten in **HTML**. Wenn wir ein nicht existierendes Bild mit dem **eingefügten Link** auf diese Weise senden:

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

Wenn das Opfer die Nachricht öffnet und der Server **interpretiert** das Bild (das nicht existiert) lädt, werden die Änderungen angewendet:

<figure><img src="/files/4a290465c66c80d766e6427f879ada87fee2e484" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/d08c7d698edaca81b5929e6a5a96f0b17fcbeee8" 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/owasp-top-10-vulnerabilities/vulnerability-cross-site-request-forgery-csrf/csrf-user-information-manipulation-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.
