BBLABSBBLABS
LaboratoriosAprender desde 0FuncionesPreciosTestimoniosDetrás de BBLABS
  1. Home
  2. Labs
  3. IDOR via Predictable Checkout IDs
Hard1h

IDOR via Predictable Checkout IDs

By @gorka

E-commerce de lujo donde los IDs de checkout son numericos de 4 digitos y no requieren autenticacion para acceder, permitiendo bruteforcear los 10.000 posibles IDs y encontrar datos sensibles.

$500

That's what a company paid for this bug on HackerOne. Here it is, rebuilt for you to find it yourself.

1.5K views42 completedUpdated Nov 2026
Log in to start

Learn to find this bug

This bug paid $500 on HackerOne.

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

kyzk31
@kyzk322 days ago
zilr4c2
@zilr4c28 days ago
sharat chandra3
@sharat chandraOct 2026
pippen_3
@pippen_3Sep 2026
gcota
@gcotaSep 2026
bizedtv
@bizedtvSep 2026
alejandrorubiocam
@alejandrorubiocamSep 2026
CR
@crashSep 2026

Objectives

1
Descubrir que las URLs de checkout usan IDs de 4 digitos
2
Notar que GET /api/checkout/:id no requiere autenticacion
3
Bruteforcear los IDs (0000-9999)
4
Encontrar el checkout del admin con la flag

Information

Platform
HackerOne
Difficulty
Hard
Duration
1h
Bounty
$500
Completed
42
Creator
gorka@gorka
Collaborators
antoniorivera@antoniorivera
Updated
Nov 2026

Download the environment

Reproduce it and find the bug yourself

Create account

Tools

Burp Suite

Prerequisites

  • Concepto de IDOR
  • Scripting basico (bash/python) para bruteforce

Tags

Business LogicIDOR

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:1800

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

Para parar:

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

Contenido del Lab

La aplicacion

LuxeCart es un e-commerce de productos de lujo con sistema de checkout que genera URLs con IDs numericos de 4 digitos.

La vulnerabilidad

Los checkouts usan IDs numericos secuenciales de 4 digitos (0000-9999). El endpoint GET /api/checkout/:id devuelve datos completos del comprador (nombre, email, telefono, PII) sin requerir autenticacion ni verificar la propiedad.

Cadena de ataque

1. Hacer una compra → obtener URL de checkout
2. Notar el ID de 4 digitos
3. Script para bruteforcear 0000-9999
4. Encontrar checkouts validos con PII
5. ID 7456 → checkout del admin con flag

Solucion interactiva

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


Remediacion

  1. Usar UUIDs en vez de IDs secuenciales
  2. Requerir autenticacion para acceder a checkouts
  3. Verificar propiedad del recurso
  4. Rate limiting en endpoints sensibles

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.