EntornosRankingComunidadWriteupsPreciosGorka
Entrar
  1. Home
  2. Environments
  3. Client-Side Role Bypass + Missing Server RBAC

Client-Side Role Bypass + Missing Server RBAC

MediumVDP · unpaidReal case · HackerOneWith flag

Plataforma de ranking de hackers donde el rol del usuario se controla desde el cliente. Modificando la respuesta del servidor con Burp Suite (Match & Replace) se puede escalar a admin y cambiar la contrasena del super-hacker Objective: capture the flag.

Business Logic
Log in to startSee the environment

948 views · 27 completed · updated Nov 2026

Access

Learn to find this bug

A real HackerOne hack, reproduced for you to practice.

Create your account and practise with real hacks. Download the environment, find the bug and learn the exact technique.

hunters training

hacking environments

environments solved

paid out for these bugs

Create account
I already have an account

Access to all environments · cancel the renewal anytime and keep what you paid for

Information

Platform
HackerOne
Difficulty
Medium
Duration
35 min
Bounty
No reward
Completed
27
Creator
@gorka
Updated
Nov 2026

The environment

ZIP with the environment and its autodeploy

You download it from here. Inside there's the environment and two scripts that start it for you, one per system.

autodeploy.shautodeploy.ps1
Create an account to download it

Only requirement: Docker

Nothing else. The autodeploy builds and starts the environment for you.

Autodeploy · one command

Linux and macOS

$./autodeploy.sh

Windows

PS>.\autodeploy.ps1

From inside the folder the ZIP creates. It prints the URL and credentials.

Objectives · the path, not the solution

  1. 01Registrarse y observar que la respuesta contiene role: user
  2. 02Usar Burp Match & Replace para cambiar role: user por role: admin en las respuestas
  3. 03Acceder al panel de administracion que ahora aparece en la interfaz
  4. 04Descubrir que los endpoints de admin no validan el rol en el servidor
  5. 05Cambiar la contrasena del usuario thebesthacker para obtener la flag

Prerequisites

  • Uso basico de Burp Suite (Match & Replace)
  • Entender la diferencia entre validacion client-side y server-side

Tools

  • Burp Suite
  • Navegador

Latest to solve it

  • @r00thorOct 2026
  • @sharat chandraOct 2026
  • @bizedtvSep 2026
  • @emperadorSep 2026
  • @3nk1Sep 2026
  • @zynapAug 2026
  • @benjaminnocervigniAug 2026
  • @vazquezdv182005Aug 2026

The badge

Achievement you'll earn

Solve this environment to unlock this shareable achievement

Solve this environment to unlock this shareable achievement

Community writeups

Free · no account

The checklist I run on every new target

47 checks ordered by cost: first what can get you in trouble, then the cheap stuff, and finally the expensive stuff — which is where the big bounties are. I'll send it to your inbox right now.

Unsubscribe in one click, from any email.

Despliegue

# Opcion 1: autodeploy
./autodeploy.sh

# Opcion 2: manual
docker compose up --build

# Acceder
http://localhost:1700

Compatible con macOS, Linux y Windows (Docker Desktop / WSL).

Para parar:

./autodeploy.sh destroy
# o: docker compose down -v

Contenido del Lab

La aplicacion

CyberRank es una plataforma de ranking de hackers con leaderboard, panel de administracion y un super-hacker panel secreto.

La vulnerabilidad

El servidor envia role: user en las respuestas de autenticacion y el frontend muestra/oculta secciones basandose en ese valor. Sin embargo, los endpoints de admin (/api/admin/*) no verifican el rol del usuario en el servidor, confiando unicamente en el cliente.

Cadena de ataque

1. Registrarse → role: user
2. Burp → Match & Replace: role.*user → role.*admin
3. Refrescar → Panel admin visible
4. GET /api/admin/users → Lista usuarios (funciona sin ser admin!)
5. Cambiar contrasena de thebesthacker
6. Login como thebesthacker → Flag

Solucion interactiva

Accede a /writeup dentro de la aplicacion para una guia paso a paso con botones interactivos.


Remediacion

  1. Validar roles en el SERVIDOR, nunca confiar en el cliente
  2. Implementar middleware de autorizacion en cada endpoint admin
  3. No exponer el rol en las respuestas del API si no es necesario
  4. Principio de menor privilegio en cada endpoint

The community

This isn't a platform with users.It's people breaking the same things you are.

Inside people ask, share what they found and solve together what would block anyone on their own. It's free to join: no account, no plan, no email required.

Join the Discord

Free and open. You don't need a BBLABS account to join.

Aprende hacking con entornos que replican hackeos reales.

Producto

  • Entornos
  • Hacker Roadmap
  • Arena · ranking
  • Precios
  • Empresas

Aprender

  • Aprender desde 0
  • Academy
  • Blog
  • Writeups
  • Crew · Discord

Más

  • Gorka
  • Términos
  • Privacidad
  • Cookies
  • team@bblabs.es
© 2026 BBLABS · Hecho en Españalabs.bblabs.escrew.bblabs.esacademy.bblabs.esarena.bblabs.esblog.bblabs.esbugbounty.bblabs.esteams.bblabs.es