Aller au contenu

Crack the Gate 2

Writeup de Arnold-26, repris avec son autorisation. Source : cylab-academy-writeups — challenge #521, résolu le 2026-11-23. Flags tronqués.

Catégorie : Web Exploitation · Challenge : #521 · Résolu le : 2026-11-23

Énoncé

The login system has been upgraded with a basic rate-limiting mechanism that locks out repeated failed attempts from the same source. We’ve received a tip that the system might still trust user-controlled headers. Your objective is to bypass the rate-limiting restriction and log in using the known email address: ctf-player@cylabacademy.org and uncover the hidden secret.

Résolution

Méthode : rate-limit bypass via X-Forwarded-For.

Le rate-limiting est base sur l'IP, mais le serveur fait confiance aux en-tetes X-Forwarded-For / X-Real-IP / Client-IP. En les faisant varier à chaque tentative, on peut tester toute la liste passwords.txt sans être bloque.

Flag

academy{...}