> 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/fr/web/access-control.md).

# Contrôle d’accès

Contrôle d’accès défaillant, IDOR, élévation de privilèges, manipulation des rôles, contournement de l’autorisation et exposition du panneau d’administration.

Notes sur le contrôle d'accès pour les laboratoires de PortSwigger Web Security Academy, axées sur les étapes de test pratiques, la validation avec Burp Suite, le comportement des charges utiles et le flux de travail d’exploitation.

## Flux de test

1. Identifiez la fonctionnalité vulnérable et la requête, le paramètre, l’en-tête, le cookie ou le point d’injection côté navigateur pertinent.
2. Reproduisez le comportement dans Burp Suite avec une charge utile minimale avant d’intensifier l’attaque.
3. Validez l’impact avec une preuve de concept claire, comme l’accès au compte, la divulgation de données, l’exécution de code, le SSRF ou un changement d’état.
4. Conservez inchangés les charges utiles, les URL, les jetons et les identifiants du laboratoire tout en documentant le chemin d’exploitation.

## Laboratoires

<table><thead><tr><th data-type="content-ref"></th></tr></thead><tbody><tr><td><a href="/fr/web/access-control/access-control-based-on-the-referer-header.md">Contrôle d’accès basé sur l’en-tête Referer</a></td></tr><tr><td><a href="/fr/web/access-control/admin-functionality-with-unpredictable-url.md">Fonctionnalité d’administration avec URL imprévisible</a></td></tr><tr><td><a href="/fr/web/access-control/bypassing-access-control-based-on-http-method.md">Contournement du contrôle d’accès basé sur la méthode HTTP</a></td></tr><tr><td><a href="/fr/web/access-control/bypassing-url-based-access-control.md">Contournement du contrôle d’accès basé sur l’URL</a></td></tr><tr><td><a href="/fr/web/access-control/change-role-in-user-profile.md">Changer le rôle dans le profil utilisateur</a></td></tr><tr><td><a href="/fr/web/access-control/changing-the-role-in-the-user-profile.md">Modification du rôle dans le profil utilisateur</a></td></tr><tr><td><a href="/fr/web/access-control/data-filtering-during-redirection-with-parameter-controlled-id.md">Filtrage des données lors de la redirection avec ID contrôlé par paramètre</a></td></tr><tr><td><a href="/fr/web/access-control/insecure-direct-references-to-objects.md">Références directes non sécurisées vers des objets</a></td></tr><tr><td><a href="/fr/web/access-control/multi-step-process-without-access-control.md">Processus en plusieurs étapes sans contrôle d’accès</a></td></tr><tr><td><a href="/fr/web/access-control/password-filtering-via-parameter-controlled-id.md">Filtrage du mot de passe via ID contrôlé par paramètre</a></td></tr><tr><td><a href="/fr/web/access-control/unprotected-admin-functionality.md">Fonctionnalité d’administration non protégée</a></td></tr><tr><td><a href="/fr/web/access-control/user-id-controlled-by-parameter.md">ID utilisateur contrôlé par paramètre</a></td></tr><tr><td><a href="/fr/web/access-control/user-id-controlled-by-parameter-unpredictable-guid.md">ID utilisateur contrôlé par paramètre GUID imprévisible</a></td></tr><tr><td><a href="/fr/web/access-control/user-id-controlled-by-unpredictable-guid-parameter.md">ID utilisateur contrôlé par un paramètre GUID imprévisible</a></td></tr><tr><td><a href="/fr/web/access-control/user-role-controlled-by-a-parameter.md">Rôle utilisateur contrôlé par un paramètre</a></td></tr></tbody></table>


---

# 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/fr/web/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.
