BBLABS v2BBLABSv2
>Inicio>Labs
>New labs

Últimos 3 labs

Cargando…

Ver todos los labs →
>Creators>Ranking
>Aprender

Aprender bug bounty

AcademyGuías, cheatsheets y diccionarioVulnerabilidadesXSS, SQLi, IDOR, SSRF y másHunter RoadmapTu ruta de bug bounty paso a pasoBlogGuías y noticias de bug bounty
>Empresa>Precios
EN
AccederAcceder
>Inicio>Labs>New labs>Creators>Ranking>Aprender>Empresa>Precios
EN
Iniciar SesiónCrear Cuenta
  1. Inicio
  2. Labs
  3. 0-click-ATO — Account Takeover via OTP Brute Force + Email Case-Sensitivity Bypass
Insane$6001h

0-click-ATO — Account Takeover via OTP Brute Force + Email Case-Sensitivity Bypass

Por @gorka

Exploit a case-sensitive OTP tracking system to brute-force the admin password reset

453 visitas18 completadosActualizado ago 2026
Iniciar sesión para empezar

Aprende a encontrar este bug

Este bug pagó $600 en YesWeHack.

Crea tu cuenta y practica bugs reales que se pagaron. Descarga el entorno, encuéntralo y aprende la técnica exacta — tu camino a tu primer bounty.

650

hunters entrenando

50

labs de reportes reales

380

completaciones

$200.000

en bounties practicados

40 flags capturadas esta semana
Crear cuenta
Ya tengo cuenta

Acceso a todos los labs · sin permanencia · cancela cuando quieras

Hunters que lo han resuelto· 8

flyingwhales1
@flyingwhalesHace 5 días
telecasacasa452
@telecasacasa45Hace 10 días
zynap3
@zynapHace 12 días
kaneki
@kanekiHace 20 días
AL
@alex.burja.2000jul 2026
benjaminnocervigni
@benjaminnocervignijun 2026
gorka
@gorkajun 2026
pl4nkton
@pl4nktonjun 2026

Objetivos

1
Discover the admin account
2
Identify the vulnerability in the password reset flow
3
Write a Python3 exploit script to brute-force the OTP
4
Take over the admin account and capture the flag

Información

Plataforma
YesWeHack
Dificultad
Insane
Duración
1h
Bounty
$600
Completados
18
Creador
gorka@gorka
Colaboradores
antoniorivera@antoniorivera
Actualizado
ago 2026

Descarga el entorno

Reprodúcelo y encuentra el bug tú mismo

Crear cuenta

Herramientas

BurpSuitePython

Prerequisitos

  • Python3 with `requests` library
  • Basic understanding of HTTP APIs
  • Understanding of brute-force attacks

Tags

API Abuse

Logro que recibirás

Cuando resuelvas este lab desbloqueas este logro compartible

BBLABS.ESLab Resuelto
Insane$600
// achievement_unlocked

0-click-ATO — Account Takeover via OTP Brute Force + Email Case-Sensitivity Bypass

API Abuse
ago 2026
gorka
solved_by@gorkaMiembro desde mar 2026
bblabs.es// real bug bounty practice

Writeups de la comunidad

Deployment

# Using autodeploy
bash autodeploy.sh

# Or manually
docker compose up --build -d

Access the lab at: http://localhost:1337

Attack Chain

1. Login as user@securecam.io
2. Use "Invite to Camera Group" to discover admin@securecam.io
3. Analyze password reset flow:
   - POST /api/auth/forgot-password → generates 4-digit OTP
   - POST /api/auth/reset-password → email + new_password + otp
   - 4 failed attempts → email blocked
4. Discover: OTP tracking is case-sensitive, password reset is case-insensitive
5. Write Python3 exploit:
   - Generate email case variants (admin@, Admin@, aDmin@, etc.)
   - For each variant: request OTP → try 4 codes → move to next variant
6. Run exploit → password reset → login as admin → flag

Vulnerability Details

The server stores OTP attempts using the exact email string as the key (case-sensitive).
After 4 failed attempts for a specific email string, it is blocked.

However, the actual user lookup for password reset uses LOWER(email) = LOWER(?),
meaning all case variants of the email update the same user's password.

This means each case variant of the admin email (e.g., Admin@securecam.io, aDmIn@securecam.io)
gets its own 4 fresh OTP attempts, effectively bypassing the rate limit.

With 16 alphabetic characters in admin@securecam.io, there are 2^16 = 65,536 possible case variants,
each with 4 attempts = 262,144 total attempts, far exceeding the 10,000 possible 4-digit OTP codes.

Remediation

  1. Normalize email before OTP tracking: Convert to lowercase before storing in the OTP rate-limit store
  2. Global rate limiting: Implement rate limiting based on the normalized email, not the raw input
  3. Longer OTP codes: Use 6+ digit codes to increase the keyspace
  4. Account lockout: Lock the actual account after N failed reset attempts (not just the email variant)
  5. Time-based OTP expiration: Expire OTPs after a short window (e.g., 5 minutes)

Interactive Writeup

Access the step-by-step interactive writeup at: http://localhost:1337/writeup

Attribution

Bug Bounty Labs by @_.gorkaaa.b

Contacto

Practica, aprende y hackea

Plataforma de práctica de bug bounty con labs basados en reportes reales. Aprende hacking ético en entornos seguros.

contactar→

Síguenos

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

Accede a todos los labs desde 7,99€/mes

Nuevos labs cada semana. Cancela cuando quieras.

Crear cuenta

BBLabs es la plataforma de laboratorios de bug bounty en español donde aprender bug bounty con vulnerabilidades reales extraídas de reportes pagados en HackerOne, Bugcrowd e Intigriti. Aquí practicas hacking web —XSS, SQLi, IDOR, SSRF, CSRF y más— en entornos descargables, capturas la flag, lees el writeup y aplicas la técnica en programas activos de bug bounty.

BBLabs es la alternativa en español a HackTheBox, TryHackMe y PentesterLab para quienes quieren practicar bug bounty con reportes reales en lugar de CTFs artificiales. Desde 7,99€/mes, sin permanencia.

→ Aprender bug bounty desde cero→ Cómo hacer bug bounty paso a paso→ Reportes de bug bounty reales→ BBLabs para empresas y academiasLabsAcademyVulnerabilidadesHerramientasRanking de huntersLabs de XSSLabs de IDORLabs de SSRFLabs de CSRFHackTheBox alternativaHack4u alternativaTryHackMe alternativaPortSwigger alternativaPentesterLab alternativaBug Bounty Labs comparativaHackerOne para practicarOffSec / OSCP alternativaINE / eWPT alternativaHTB Academy alternativaDVWA alternativaJuice Shop alternativaVulnHub alternativaPentesterAcademy alternativaRoot-Me alternativaHackTheBox vs TryHackMeMejores plataformas bug bounty 2026BlogSpoilers¿Qué es el bug bounty?¿Cuánto se gana en bug bounty?OWASP Top 10 explicadoMejores webs para practicar hacking webCómo ser hacker ético desde ceroTutorial de Burp Suite en españolOSCP en español: guía y preparaciónGoogle Dorks para bug bountyCuánto gana un hacker ético en EspañaHerramientas de bug bounty 2026Mejores certificaciones de ciberseguridad 2026Burp Suite tutorialsqlmap tutorialffuf fuzzing webnuclei tutorialHTTP Request SmugglingWAF bypassPrompt injection (LLM)Google Dorks
Hecho cony código
TérminosPrivacidadComparativaEN

© 2026 BBLABS v2 — Todos los derechos reservados