← All Labs
🛡 AUTH BEGINNER +100 XP · +40 no-hint bonus

A01 Broken Access Control – Hidden Admin Menu

You are exploring a fictional company portal. The home page looks like an ordinary employee dashboard, and there is no visible link to the administration area. The developers have hidden the admin menu item from regular users, but they have not protected the admin page itself. Your task is to discover the hidden admin page by navigating directly to its URL. The page is mistakenly accessible without an authorization check. This is a controlled training website with synthetic data.

https://a01-broken-access-control-hidden-admin-menu.lab.local/

What is Broken Access Control – Unprotected Administrative Page (Hidden Admin Menu)?

Broken access control occurs when an application does not correctly enforce what an authenticated or unauthenticated user is allowed to access.

In this lab, the portal removes the Admin link from the visible navigation menu, creating the impression that ordinary visitors cannot reach the administration area. However, the server still serves the /admin page to anyone who requests that path directly.

This is a common security mistake: hiding a button or link changes only what the user interface displays. It does not restrict access to the underlying page or function. Authorization must be checked by the server on every request to a protected resource.

About this lab

Designed by the SecurityElites team specially for training.

How AI helps you find it

AI can suggest common administrative route names, explain how to inspect navigation and page source, and help create a checklist for testing direct access to privileged URLs. Confirm every finding manually in the lab browser.

How to fix it

  • Enforce server-side authorization on every administrative route and action.
  • Require an authenticated account with the appropriate administrator role before returning admin content.
  • Deny access by default when a user has no explicitly granted permission.
  • Do not rely on hidden links, client-side checks or obscure URLs as security controls.
  • Add automated tests that request privileged routes as unauthenticated and low-privileged users.
  • Log and monitor denied access attempts to sensitive administrative resources.

How AI helps you defend against it

AI can help review route definitions and authorization middleware, draft role-based access-control test cases, and identify pages that need server-side permission checks. A developer must validate the implementation and tests.

Read the full OWASP LLM Top 10 guide · All free labs · AI red team certification