EntornosRankingComunidadWriteupsPreciosGorka
Entrar
  1. Home
  2. Environments
  3. IDOR + CORS Chain Attack

IDOR + CORS Chain Attack

HardBBP · $50Real case · YesWeHackWith flag

Plataforma de pedidos donde una combinacion de IDOR (acceso a pedidos ajenos) y CORS misconfiguration (reflejo de origen) permite exfiltrar datos de pedidos de otros usuarios via un ataque encadenado Objective: capture the flag.

IDORBusiness Logic
Log in to startSee the environment

1,222 views · 23 completed · updated Nov 2026

Access

Learn to find this bug

A company paid $50 for this bug on YesWeHack.

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
YesWeHack
Difficulty
Hard
Duration
45 min
Bounty
$50
Completed
23
Creator
@gorka
Collaborators
@antoniorivera
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. 01Descubrir IDOR en el endpoint de datos de pedidos
  2. 02Identificar que CORS refleja cualquier origen con credenciales
  3. 03Crear un PoC que encadene CORS + IDOR
  4. 04Exfiltrar los datos del pedido del admin que contiene la flag

Prerequisites

  • IDOR avanzado
  • Configuracion CORS y politicas de origen
  • JavaScript para PoC de exfiltracion

Tools

  • Burp Suite

Latest to solve it

  • @kyzk3Oct 2026
  • @sharat chandraOct 2026
  • @bizedtvSep 2026
  • CR@crashSep 2026
  • @benjaminnocervigniAug 2026
  • @flyingwhalesJul 2026
  • @kanekiJul 2026
  • AL@alex.burja.2000Jul 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:1900

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

Para parar:

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

Contenido del Lab

La aplicacion

SecureVision es una plataforma de pedidos con reviews de productos y un bot admin que visita las reviews.

La vulnerabilidad

POST /api/orders/getData verifica autenticacion pero NO verifica que el pedido pertenezca al usuario (IDOR). Ademas, el servidor refleja el header Origin en Access-Control-Allow-Origin con credentials: true, permitiendo peticiones cross-origin autenticadas.

Cadena de ataque

1. Registrarse y hacer un pedido
2. Descubrir IDOR: acceder a pedidos de otros
3. Descubrir CORS: Origin reflejado con credentials
4. Crear PoC JS que usa CORS para leer pedidos
5. Publicar review con link al PoC
6. Bot admin visita → PoC exfiltra IDs de pedidos
7. Usar IDs para leer datos del admin → Flag

Solucion interactiva

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


Flag

4a8a08f09d37b73795649038408b5f33

Remediacion

  1. Verificar que el usuario es dueno del recurso (fix IDOR)
  2. No reflejar Origin arbitrariamente en CORS
  3. Whitelist de origenes permitidos
  4. No enviar credentials en CORS cross-origin

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