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

# تلاعب معلومات المستخدم عبر CSRF

نبدأ بـ **نعترض** إشعار بتغيير الاسم باستخدام Burp Suite:

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

نتحقق مما إذا كان الاستعلام نفسه يُفسَّر في **GET**:

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

مع **GET**، نرسل طلبًا عن طريق تغيير الاسم وإزالة **رمز** و **الطابع الزمني** لرؤية ما إذا كانت ضرورية تمامًا أم لا:

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

يمكننا أن نرى أن اسم المستخدم قد تم **تغييره بدون النماذج**، لذا فالحقلان غير ضروريين:

<figure><img src="/files/7a1d9815445bc61215a1ecc6a92618c49f174caf" alt=""><figcaption></figcaption></figure>

في \*\*قائمة الأصدقاء\*\*، نجد \*\*المعرّف\*\* الخاص بالضحية:

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

نحاول إرسال الطلب عن طريق تغيير **معرّف المستخدم** بمعرّف الضحية (59) وتعديل **حقل الاسم** (في هذه الحالة، لا نملك الصلاحيات اللازمة):

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

لأن الطلب يمكن تنفيذه باستخدام **GET**، إذا أرسلنا **الرابط** إلى الضحية وفتحته من حسابها، فسيتم تغيير اسمها لأن لديها الصلاحيات اللازمة **الصلاحيات**:

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

في هذه الحالة لا يمكن ذلك، ولكن إذا لم يكن هناك **كلمة المرور الحالية** حقل، فيمكننا تغيير كلمة مرور المستخدم:

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

إحدى الطرق ستكون إرسال الرابط إليهم عبر **GET**؛ عندما يقومون **بفتح** ه، تُطبَّق التغييرات. في بعض الحالات يمكننا إرسال رسائل بصيغة **HTML**إذا أرسلنا صورة غير موجودة مع **إدراج الرابط** بهذه الطريقة:

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

عندما تفتح الضحية الرسالة وأن الخادم **يفسّر** الصورة (غير الموجودة)، فسيتم تطبيق التغييرات:

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

<figure><img src="/files/1f1558a444254670a14becfe67b74b0f5ce56628" 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/ar/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.
