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

# عملية متعددة الخطوات دون تحكم في الوصول

### عملية متعددة الخطوات بدون تحكم في الوصول في إحدى الخطوات

يوفّر المختبر لوحة إدارة تتضمن عملية متعددة الخطوات لتغيير دور المستخدم. تحتوي هذه السلسلة على خلل: إحدى الخطوات لا تطبّق أي تحكم في الوصول. / للتدريب، من الممكن أولًا فحص لوحة الإدارة باستخدام **administrator:admin** البيانات الاعتمادية. / لحل المختبر، تحتاج إلى الاتصال باستخدام **wiener:peter** واستخدام الخطوة الضعيفة لرفع دورك إلى مستوى المدير.

<figure><img src="/files/751f2e856be830a7a6309ea75aa3c353976c5348" alt=""><figcaption></figcaption></figure>

### تحليل العملية

يحدث تغيير الدور عبر طلبين منفصلين:

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

#### **الخطوة الأولى: طلب الترقية**

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

مع جلسة wiener، يُرفَض هذا الطلب: / يشير الخادم إلى أن المستخدم غير مسموح له.

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

#### **الخطوة 2: تأكيد الإجراء**

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

لا يتضمن هذا الطور الثاني **عدم وجود تحكم في الوصول**. / من خلال إرسال هذا الطلب باستخدام ملف تعريف ارتباط جلسة wiener:

<figure><img src="/files/24735ac95df6dcf3aeac19a5933b826b50948415" alt=""><figcaption></figcaption></figure>

يردّ الخادم **موافق**، على الرغم من أنه لا ينبغي أن يمتلك wiener الحقوق اللازمة


---

# 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/ar/web/access-control/multi-step-process-without-access-control.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.
