URL Shortener Open Redirect
E-commerce con servicio de acortamiento de URLs que acepta cualquier destino sin validacion, creando redirecciones abiertas con URLs del dominio confiable.
Learn to find this bug
A real bug bounty report, 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.
- hunters training
- 650
- labs from real reports
- 50
- completions
- 380
- in bounties practiced
- $200,000
hunters training
labs from real reports
completions
in bounties practiced
Access to all labs · no commitment · cancel anytime
Hunters who solved it· 8
Achievement you'll earn
Solve this lab to unlock this shareable achievement
URL Shortener Open Redirect
Community writeups
Despliegue
# Opcion 1: autodeploy
./autodeploy.sh
# Opcion 2: manual
docker compose up --build
# Acceder
http://localhost:2001
Compatible con macOS, Linux y Windows (Docker Desktop / WSL).
Para parar:
./autodeploy.sh destroy
# o: docker compose down -v
Contenido del Lab
La aplicacion
SkyHaven con servicio de URL shortening integrado.
La vulnerabilidad
POST /api/shorten acepta cualquier URL sin validacion. Genera un shortlink del dominio confiable que redirige al destino malicioso.
Cadena de ataque
1. POST /api/shorten con url=https://evil.com
2. Obtener URL corta: https://skyhaven.com/s/abc123
3. Compartir URL corta (parece confiable)
4. Victima clica → redirigida a evil.com
Solucion interactiva
Accede a /writeup dentro de la aplicacion para una guia paso a paso con botones interactivos.
Flag
(URL acortada redirige a sitio externo)
Remediacion
- Bloquear URLs externas sospechosas
- Mostrar pagina de advertencia antes de redirigir
- Rate limiting en creacion de short URLs