BBLABSBBLABS
LaboratoriosAprender desde 0FuncionesPreciosTestimoniosDetrás de BBLABS
  1. Home
  2. Labs
  3. Client-Side Path Traversal to Admin Password Change
Hard30 min

Client-Side Path Traversal to Admin Password Change

By @gorka

Foro donde un parametro de URL se inyecta en la ruta del API del cliente. Mediante CSPT se puede redirigir la peticion al endpoint de cambio de contrasena del admin.

This hack was reported with no reward

687 views25 completedUpdated Oct 2026
Log in to start

Learn to find this bug

A real hack, reproduced for you to practice.

Create your account and practice real bugs that got paid. Download the environment, find it and learn the exact technique — your path to your first bounty.

650

hunters training

50

labs from real hacks

380

completions

$12,000

paid out for these bugs

40 flags captured this week
Create account
I already have an account

Access to all labs · no commitment · cancel anytime

Hackers who solved it· 8

sharat chandra1
@sharat chandraOct 2026
l1ghtn1ng2
@l1ghtn1ngAug 2026
lmarco833
@lmarco83Aug 2026
kaneki
@kanekiJul 2026
kr3b7
@kr3b7Jun 2026
ZN
@znbzJun 2026
benjaminnocervigni
@benjaminnocervigniJun 2026
DN
@dntbetheheroJun 2026

Objectives

1
Descubrir que el parametro de URL del Password Vault se inyecta en la ruta API del cliente
2
Crear una URL CSPT que redirija al endpoint de cambio de contraseña
3
Publicar la URL en el foro para que el admin bot la visite
4
Verificar que la contraseña del admin fue cambiada

Information

Difficulty
Hard
Duration
30 min
Bounty
Sin recompensa
Completed
25
Creator
gorka@gorka
Updated
Oct 2026

Download the environment

Reproduce it and find the bug yourself

Create account

Tools

Burp SuiteURL encoder

Prerequisites

  • Path traversal avanzado
  • Client-side path traversal (CSPT)
  • URL encoding

Tags

Path Traversal

Achievement you'll earn

Solve this lab to unlock this shareable achievement

Solve this lab 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:1500

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

Para parar:

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

Contenido del Lab

La aplicacion

ZeroDay Forum con funcionalidad de Password Vault donde el parametro de URL se usa en la ruta de la API del cliente.

La vulnerabilidad

El Password Vault construye la URL de la API usando un parametro de la URL: /api/vault/${param}. Mediante path traversal (..%2F..%2Fauth%2FchangePassword?pass=hacked123), se puede redirigir la peticion al endpoint de cambio de contrasena.

Cadena de ataque

1. Analizar URL del Password Vault
2. Descubrir inyeccion de path en la API del cliente
3. Crear URL: /vault/..%2F..%2Fauth%2FchangePassword?pass=hacked123
4. Publicar en el foro
5. Admin bot visita → contrasena cambiada
6. Login como z3r0c00l → Flag

Solucion interactiva

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


Flag

827ccb0eea8a706c4c34a16891f84e7b

Remediacion

  1. Nunca concatenar input del usuario en rutas de API
  2. Validar y sanitizar parametros de URL
  3. Usar IDs en vez de paths para referenciar recursos
  4. Server-side: validar que la ruta solicitada es valida

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 BBLABS community on Discord
Join the Discord

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

BBLABS LogoBBLABS

Laboratorios de hacking basados en hackeos reales. Aprende practicando sobre entornos vulnerables, con la resolución explicada paso a paso.

Producto

  • Funcionalidades
  • Precios
  • Labs
  • Aprender desde 0
  • Blog
  • Detrás de BBLABS

Legal

  • Términos
  • Privacidad
  • Cookies
  • Entrar
  • Crear cuenta

Para cualquier duda, bug, soporte o sugerencia puedes escribir a team@bblabs.es

© 2026 BBLABS. Todos los derechos reservados.