DL·SYS
Contact ↗

CSCTF 2026 · Web · 183 pts

Operation Dawn: The Access Log.

No error page, no response body — just an nginx access log and the time each request took.

Blind SQLiLog analysis
EventCSCTF 2026, Operation Dawn (online jeopardy)
CategoryWeb
Points183
StatusSolved during the event
Targetnginx access log, offline

TL;DR. An attacker ran a classic time-based blind SQL injection (SLEEP(2) on a true condition) against a login endpoint, and the only surviving evidence is the access log's response-time field. Every slow request (≈2.0s) was a correct character guess; every fast one (≤0.06s) was wrong.

Challenge

The task provides only an nginx access log and asks what the attacker extracted from the database, using nothing but that log.

Solution

URL-decoding every request line shows 2,665 requests from a single IP (198.51.100.66), each shaped like:

unit=43' AND IF(SUBSTR(token,i,1)='c',SLEEP(2),0)-- -

That is a textbook blind boolean/time-based injection: it guesses one character of token at position i and sleeps 2 seconds only if the guess is right. The log's rt= field (response time) is the oracle — every request that took at least 2.002s was a correct guess, and every one under 0.057s was wrong.

The attacker tried both letter cases at each of the 41 positions. Grouping by position, exactly one request per position was slow; the rest were fast. Collecting the winning character at each position, in order, reconstructs the full 41-character token.

Flag

FlagCSCTF{07_beacon_tow_vigil_bollard_8c0371}

What I took from it