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

# Proceso de varios pasos sin control de acceso

Notas sobre Proceso de varios pasos sin control de acceso para los laboratorios de PortSwigger Web Security Academy, incluido el flujo de explotación, pruebas de payload, validación en Burp Suite y contexto de mitigación.

### Proceso de varios pasos sin control de acceso en uno de los pasos

El laboratorio ofrece un panel de administración con un proceso de varios pasos para cambiar el rol de un usuario. Este flujo contiene un fallo: uno de los pasos no aplica control de acceso. / Para practicar, es posible examinar primero el panel de administración con las **administrator:admin** credenciales. / Para resolver el laboratorio, necesitas conectarte con **wiener:peter** y usar el paso vulnerable para elevar tu propio rol al nivel de administrador.

<figure><img src="https://754079710-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>

### Análisis del proceso

El cambio de rol ocurre en dos solicitudes separadas:

<figure><img src="https://754079710-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>

#### **Primer paso: solicitud de ascenso**

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

Con la sesión de wiener, esta solicitud es rechazada: / El servidor indica que el usuario no está autorizado.

<figure><img src="https://754079710-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>

#### **Paso 2: Confirmación de la acción**

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

Esta segunda etapa no incluye **ningún control de acceso**. / Al enviar esta solicitud con la cookie de sesión de wiener:

<figure><img src="https://754079710-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>

El servidor responde **OK**, aunque wiener no debería tener los permisos necesarios


---

# 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/es/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.
