BBLABSBBLABS
LaboratoriosAprender desde 0FuncionesPreciosTestimoniosDetrás de BBLABS
  1. Home
  2. Labs
  3. CSRF Account Deletion
Easy20 min

CSRF Account Deletion

By @gorka

Red social donde el endpoint de eliminacion de cuenta no requiere confirmacion de contrasena y es vulnerable a CSRF, permitiendo borrar la cuenta de cualquier usuario con un solo clic.

This hack was reported with no reward

1.5K views82 completedUpdated Nov 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

alexlom3211
@alexlom3214 days ago
m275809282
@m2758092816 days ago
dodecaneser3
@dodecaneser18 days ago
JM
@overtone19 days ago
moidlahoz02
@moidlahoz0222 days ago
lydiel
@lydiel23 days ago
ferrergonzalezantonio4
@ferrergonzalezantonio427 days ago
espejoramirezhugo
@espejoramirezhugo27 days ago

Objectives

1
Identificar el endpoint DELETE /api/users/account
2
Notar que no requiere contrasena actual
3
Crear un PoC HTML que envie la peticion DELETE
4
Demostrar que un usuario puede ser forzado a eliminar su cuenta

Information

Difficulty
Easy
Duration
20 min
Bounty
Sin recompensa
Completed
82
Creator
gorka@gorka
Updated
Nov 2026

Download the environment

Reproduce it and find the bug yourself

Create account

Tools

Burp SuiteEditor HTML

Prerequisites

  • Conocimiento basico de CSRF
  • HTML/JavaScript basico

Tags

CSRF

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
https://localhost:1000

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

Para parar:

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

Contenido del Lab

La aplicacion

Chirp es una red social con posts y gestion de cuenta.

La vulnerabilidad

El endpoint DELETE /api/users/account elimina la cuenta del usuario autenticado sin requerir la contrasena actual ni token CSRF.

Cadena de ataque

1. Analizar peticion de eliminar cuenta
2. Notar que no pide contraseña
3. Crear PoC: fetch DELETE con credentials
4. Victima visita la pagina → Cuenta eliminada

Solucion interactiva

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


Flag

(cuenta eliminada exitosamente)

Remediacion

  1. Requerir contrasena actual para eliminar cuenta
  2. Implementar tokens anti-CSRF
  3. Confirmacion en dos pasos para acciones destructivas

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.