DL·SYS
Contact ↗

CSCTF 2026 · Web · 166 pts

Interdiction Hold.

An approval's cryptographic hash covers almost every field on a shipment — almost.

Integrity-hash coverage gapWorkflow bypass
EventCSCTF 2026, Operation Dawn (online jeopardy)
CategoryWeb
Points166
StatusSolved during the event
TargetAssigned live container

TL;DR. A consignment's approval hash is computed over a specific list of covered fields that explicitly excludes the HS tariff code — the very field the separate interdiction check actually keys on. Amending just the HS code (a 'post-approval, logged' descriptive change) leaves the approval hash valid while silently clearing the embargo flag the release check was blocking on.

Challenge

Release a consignment that's held for declaring an embargoed tariff classification, without reopening its existing approval.

Solution

The service's self-documenting /schema endpoint spells out exactly how approvals work: the approval hash is sha256 of a canonical manifest built from a specific list of covered fields — reference, origin, destination, declared value, carrier, and each line item's description and quantity. Notably, hs_code (the tariff classification) is not in that list. Separately, the release check blocks any consignment with a line item whose hs_code appears on the embargo list.

The one held consignment has an APPROVED status whose stored hash matches its current covered-field hash (so the approval is genuinely still valid), but its line item declares an embargoed HS code — triggering the interdiction hold on release.

PATCHing just that line item's hs_code to a non-embargoed classification, with a justification field describing it as a routine reclassification, succeeds and is explicitly logged as a "post-approval amendment" that does not reopen approval — because the field being changed was never part of what the approval hash covers in the first place, the hash stays valid. (A fabricated tariff code was rejected outright as unrecognized; the working code had to be a real classification already used elsewhere on the manifest and not itself embargoed.)

With the embargo flag now cleared and the approval still valid, POST /release succeeds and returns a clearance certificate carrying the flag.

Flag

FlagCSCTF{7a3gJ13yopqTiyDJ6xXoLn0d}

What I took from it