> 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/multi-step-process-without-access-control.md).

# Mehrstufiger Prozess ohne Zugriffskontrolle

Notizen zu mehrstufigem Prozess ohne Zugriffskontrolle für die Labs der PortSwigger Web Security Academy, einschließlich Ausnutzungsablauf, Payload-Tests, Burp-Suite-Validierung und Behebungskontext.

### Mehrstufiger Prozess ohne Zugriffskontrolle bei einem Schritt

Das Lab bietet ein Administrationspanel mit einem mehrstufigen Prozess zum Ändern der Rolle eines Benutzers. Dieser Ablauf enthält einen Fehler: Einer der Schritte wendet keine Zugriffskontrolle an. / Zum Üben kann man sich zunächst das Admin-Panel mit den **administrator:admin** Anmeldedaten ansehen. / Um das Lab zu lösen, müssen Sie sich mit **wiener:peter** und den anfälligen Schritt verwenden, um Ihre eigene Rolle auf Admin-Ebene zu erhöhen.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-7d8d6f3dcc7395a5de328233b4b91325b65d94e5%2F%7BC5BCF681-95C5-4A42-AD53-8EF6B1BD8161%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

### Prozessanalyse

Die Rollenänderung erfolgt in zwei separaten Anfragen:

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-01ce417aca305369601423e8ba5820d3408ff19d%2F%7B3A702DFF-D0F5-4E3A-AC2C-EBC746E050D8%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

#### **Erster Schritt: Anfrage zur Hochstufung**

```bash
username=carlos&action=upgrade
```

Mit der wiener-Sitzung wird diese Anfrage abgelehnt: / Der Server zeigt an, dass der Benutzer nicht berechtigt ist.

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-5e9a0f6b08f9e3a67ca66e05e7a36b2e37f6d6a9%2F%7B879095E1-6421-4D1C-AC1B-B11AA9766E79%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

#### **Schritt 2: Bestätigung der Aktion**

```bash
action=upgrade&confirmed=true&username=carlos
```

Diese zweite Phase enthält keine **keine Zugriffskontrolle**. / Durch das Senden dieser Anfrage mit dem Session-Cookie von wiener:

<figure><img src="https://2955439919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-dff307ece50d722b7f75d8e8d1e524b45154c51f%2F%7BE6D8E9B1-FB0B-423E-98FB-8DBC382865A2%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

Der Server antwortet **OK**, obwohl wiener nicht über die erforderlichen Rechte verfügen sollte


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/de/web/access-control/multi-step-process-without-access-control.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
