DL·SYS
Contact ↗

CSCTF 2026 · Web · 540 pts

Cyberboy.

Three small access-control gaps chain into exporting a theatre master bundle from an ordinary analyst account.

Mass assignmentBroken access control900pt web
EventCSCTF 2026, Operation Dawn (online jeopardy)
CategoryWeb
Points540
StatusSolved during the event
TargetAssigned live container (Relay Desk)

TL;DR. From an ordinary analyst account on Relay Desk, three separate bugs chain into a full tenant escape: a client-writable duty_assignment field re-scopes your session to any unit; an approval endpoint records approvals under any supplied officer ID with no check that you are that officer, so you self-approve; and the export endpoint accepts a tier parameter that overrides the rotation's actual authorized tier.

Challenge

Starting from analyst account a.reyes (callsign relay-bramble-27), reproduce the "cyberboy" walk up to exporting the theatre master bundle; the bundle's authorization code is the flag.

Solution

Step 1 — tenant escape. PATCH /api/profile accepts an arbitrary duty_assignment unit id, and POST /api/profile/refresh re-issues the session scoped to whatever unit is now on the profile. Setting duty_assignment: "KL-01" (Kestrel Lead / Theatre Relay Authority) escapes the analyst's own tenant (Bramble 14) entirely — the refreshed session is now scoped to KL-01.

Step 2 — self-approval. Rotations require dual-control approval from named officers. POST /api/rotations/{ref}/delegate-approval records an approval as whichever delegate_id is supplied in the body, without checking that the caller actually is that officer. Posting it twice with two different delegate ids (usr_okonkwo, then usr_delacroix) gives the rotation both approvals it needs from a single analyst session.

Step 3 — tier mass-assignment. POST /api/rotations/{ref}/export accepts {"tier":"master"} in the body and uses it directly, ignoring that the rotation's own authorized_tier field says "theater". The export seals a master/theatre bundle and returns its authorization code.

Rotation refs are just base64url("UNIT:seq"), so once scoped to KL-01, any of its rotations are addressable directly.

Flag

FlagCSCTF{LEZQn5qbHpktmU4Otfn0mqZn}

What I took from it