> 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/unprotected-admin-functionality.md).

# Fonctionnalité d’administration non protégée

### Fonctionnalité d'administration non protégée

Ce laboratoire affiche un panneau d'administration accessible sans aucune forme de contrôle d'accès.

#### Objectif

Supprimer l'utilisateur **carlos** via l'interface d'administration.

#### Analyse

En explorant les répertoires, par exemple avec **gobuster**, des chemins cachés peuvent être identifiés :

{% code overflow="wrap" %}

```bash
gobuster dir -u https://0a7a004004ed1cdf8016bc3f0056007f.web-security-academy.net/ -w /usr/share/SecLists/Discovery/Web-Content/common.txt -t 50
```

{% endcode %}

<figure><img src="/files/9d80dceabf033a9f0f202f67ce86119f71bb160e" alt="" width="495"><figcaption></figcaption></figure>

Le **fichier robots.txt** révèle une URL sensible pointant vers le panneau d'administration : / `/administrator-panel`

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

En accédant directement à cette interface non protégée, les utilisateurs peuvent être gérés. / Il suffit de sélectionner l'utilisateur **carlos** et de le supprimer.


---

# 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/fr/web/access-control/unprotected-admin-functionality.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.
