Endolum CTF - broken-access-control

Difficulty: easy Category : web Author : xnull Description : ### Employee Portal You found an employee portal for a company. Regular users can register and access their dashboard, but there's an admin panel that contains sensitive information. Your goal is to access the admin panel at `/admin` and retrieve the flag. Solution We can just change the role cookie to admin after registration: