CSCTF 2026 · Web · 270 pts
Inside the Cordon.
The PIN check only lives in the client — and the position the server trusts is whatever the client claims to report, not where it actually is.
| Event | CSCTF 2026, Operation Dawn (online jeopardy) |
|---|---|
| Category | Web |
| Points | 270 |
| Status | Solved during the event |
| Target | Assigned live container |
TL;DR. The cordon's activation flow trusts a client-issued 'attempt' token with no server-side PIN re-check, and its unlock condition depends on a real-time position report sent over WebSocket — a value the official client always sets to 'outside', but which the protocol never validates against anything else.
Challenge
Unlock a cordoned room's snapshot, defeating both its PIN gate and its position-based access check.
Solution
Tracing the activation flow shows the PIN check is a client-side trust boundary only: the server's activate endpoint requires nothing but a valid attempt token, issued the moment the client claims to have passed the PIN step — the server never independently re-verifies the PIN itself.
After activation, the room's protected snapshot only unlocks for a client reporting an "inside" position over a WebSocket connection. The official client hardcodes this value to "outside" (since it's meant to represent an external supervisor), but nothing on the server actually validates the reported position against real telemetry or any other state — it's trusted at face value. Reporting a spoofed "inside" position directly over the WebSocket satisfies the check and returns the room's snapshot and flag.
Flag
CSCTF{Q7FvjdHQHhBgrunLbxPUFZyE}What I took from it
- A multi-stage access control is only as strong as its weakest stage's enforcement point — here, both a PIN check and a position check were enforced by trusting whatever value the client claimed, rather than anything the server could independently verify.