BBLABS v2BBLABSv2
>Home>Labs
>New labs

Latest 3 labs

Loading…

View all labs →
>Creators>Ranking
>Learn

Learn bug bounty

AcademyGuides, cheatsheets and glossaryVulnerabilitiesXSS, SQLi, IDOR, SSRF and moreHunter RoadmapYour step-by-step bug bounty pathBlogBug bounty guides and news
>Business>Pricing
ES
Log inLog in
>Home>Labs>New labs>Creators>Ranking>Learn>Business>Pricing
ES
Sign inCreate account
  1. Home
  2. Labs
  3. Wizard Takeover ATO ( IDOR + CSRF )
Insane$1,50045 min

Wizard Takeover ATO ( IDOR + CSRF )

By @gorka

Plataforma ficticia de memoriales para mascotas. El wizard de creación de 5 pasos se puede secuestrar anónimamente combinando IDs enumerables + ausencia de session binding + un token CSRF que el backend acepta literal (`"csrf-token"`). El atacante toma control del memorial, lee datos privados y recupera la flag

770 views14 completedUpdated Aug 2026
Log in to start

Learn to find this bug

This bug paid $1,500 on YesWeHack.

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.

hunters training
650

hunters training

labs from real reports
50

labs from real reports

completions
380

completions

in bounties practiced
$200,000

in bounties practiced

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

Access to all labs · no commitment · cancel anytime

Hunters who solved it· 8

zynap1
@zynap5 days ago
kaneki2
@kaneki11 days ago
AL3
@alndrwla23 days ago
XL
@xl4n25 days ago
KA
@kaiksi_acc127 days ago
AL
@alex.burja.200029 days ago
benjaminnocervigni
@benjaminnocervigniJul 2026
gorka
@gorkaJun 2026

Objectives

1
entender la app PetMemoria, identificar el wizard de 5 pasos y las URLs `/wizard/{id}/step/N`
2
descubrir que los IDs del wizard son enumerables (`GET /api/wizard/:id/state` responde sin auth)
3
confirmar que cualquier sesión anónima puede continuar el wizard de otro usuario
4
inspeccionar el HTML del paso 5
5
enviar el `POST /api/wizard/:id/step/5` cambiando `ownerEmail` a una dirección controlada
6
recoger el link de edición en `/mailbox?email=<tu-email>
7
abrir `/edit/:token` y extraer la flag de `favorite_memory`

Information

Platform
YesWeHack
Difficulty
Insane
Duration
45 min
Bounty
$1,500
Completed
14
Creator
gorka@gorka
Collaborators
antoniorivera@antoniorivera
Updated
Aug 2026

Download the environment

Reproduce it and find the bug yourself

Create account

Tools

Burp SuiteNavegador

Prerequisites

  • Docker + Docker Compose
  • Conociminetos sobre CSRF

Tags

CSRFIDORBAC

Achievement you'll earn

Solve this lab to unlock this shareable achievement

BBLABS.ESLab Solved
Insane$1,500
// achievement_unlocked

Wizard Takeover ATO ( IDOR + CSRF )

CSRFIDORBAC
Aug 2026
gorka
solved_by@gorkaMember since Mar 2026
bblabs.es// real bug bounty practice

Community writeups

Descripción del lab

PetMemoria es una plataforma SaaS ficticia donde los usuarios crean memoriales online
para sus mascotas fallecidas. La página pública muestra una galería de memoriales
publicados y permite crear uno propio a través de un wizard de 5 pasos:

  1. Paso 1: nombre, especie, raza.
  2. Paso 2: fechas de nacimiento/fallecimiento, foto preset.
  3. Paso 3: descripción / mensaje de despedida.
  4. Paso 4: rasgos de personalidad (chips multi-select), recuerdo favorito.
  5. Paso 5: email del dueño → recibe un link de edición para gestionar el memorial.

Para reducir la fricción ("permitimos retomar desde otro dispositivo sin login"), el
wizard no exige sesión y los IDs se incrementan en /wizard/{id}/step/N. El form
del paso 5 incluye un token CSRF que se renderiza con Stimulus en el frontend — pero
el backend nunca recibe el valor renderizado y acepta el string literal del placeholder.

Hay además un bot que crea memoriales pendientes cada ~20 segundos para dar vida al
lab. De vez en cuando, el bot crea un memorial llamado "Luna" que contiene la flag en
su campo favorite_memory. Como el memorial está en draft, no aparece en la galería
pública — pero sí se puede encontrar enumerando los IDs.

Cómo verificar

./autodeploy.sh deploy
python3 tests/verify.py       # 8/8 checks
python3 exploit.py            # captura la flag, exit 0
bash flag/verify.sh           # reproduce el md5

Flag

$ bash flag/verify.sh
preimage: petmemoria::luna::wizard_takeover::ywh_souvenirdesanimaux::2026
md5     : a808b4e95a1e9412f6c0ef0255ff65d7
flag    : FLAG{a808b4e95a1e9412f6c0ef0255ff65d7}
[OK] La flag esperada coincide.

Referencias

  • Reporte original anonimizado: souvenirdesanimaux.fr (YesWeHack disclosure).
  • CWE-352: https://cwe.mitre.org/data/definitions/352.html
  • CWE-639: https://cwe.mitre.org/data/definitions/639.html
  • CWE-287: https://cwe.mitre.org/data/definitions/287.html
  • OWASP A01:2021 — Broken Access Control.

Contact

Practice, learn and hack

Bug bounty practice platform with labs based on real reports. Learn ethical hacking in safe environments.

contact→

Follow us

YouTube
@0xGorka
X
@gorkaelbochi
LinkedIn
gorka-el-bochi-morillo
Instagram
@_.gorkaaa.b
Email
team@bblabs.es

Access every lab from €7.99/mo

New labs every week. Cancel anytime.

Create account

BBLabs is the bug bounty labs platform where you learn bug bounty with real vulnerabilities extracted from paid reports on HackerOne, Bugcrowd and Intigriti. Here you practice web hacking —XSS, SQLi, IDOR, SSRF, CSRF and more— in downloadable environments, capture the flag, read the writeup and apply the technique on active bug bounty programs.

BBLabs is the alternative to HackTheBox, TryHackMe and PentesterLab for those who want to practice bug bounty with real reports instead of artificial CTFs. From €7.99/mo, no commitment.

→ Learn bug bounty from scratch→ How to do bug bounty step by step→ Real bug bounty reports→ BBLabs for companies and academiesLabsAcademyVulnerabilitiesToolsHunter rankingXSS labsIDOR labsSSRF labsCSRF labsHackTheBox alternativeHack4u alternativeTryHackMe alternativePortSwigger alternativePentesterLab alternativeBug Bounty Labs comparisonHackerOne to practiceOffSec / OSCP alternativeINE / eWPT alternativeHTB Academy alternativeDVWA alternativeJuice Shop alternativeVulnHub alternativePentesterAcademy alternativeRoot-Me alternativeHackTheBox vs TryHackMeBest bug bounty platforms 2026BlogSpoilersWhat is bug bounty?How much do you earn in bug bounty?OWASP Top 10 explainedBest sites to practice web hackingHow to become an ethical hacker from scratchBurp Suite tutorial (Spanish)OSCP guide and prepGoogle Dorks for bug bountyHow much an ethical hacker earns in SpainBug bounty tools 2026Best cybersecurity certifications 2026Burp Suite tutorialsqlmap tutorialffuf web fuzzingnuclei tutorialHTTP Request SmugglingWAF bypassPrompt injection (LLM)Google Dorks
Made withand code
TermsPrivacyComparisonES

© 2026 BBLABS v2 — All rights reserved