Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
In this Node.js/Express app, a logged-in user can update their own profile. Check whether the recursive merge function used for updates properly filters out special keys.
__proto__ can sometimes be used to pollute an object's prototype
Try sending a JSON body with isAdmin: true nested under a __proto__ key
Also pay attention to the admin-only endpoint /api/admin