Writeup · SAF Pre-Qualifiers 2026

Paper Lanterns

osintunknownsolvedFlag: safctf{REDACTED}

Overview

The challenge provides a ZIP archive at hxxp://54[.]72[.]82[.]22:8480/downloads/field-notes.zip. The collection desk asks: “Find the collection reference for the venue pictured in the field notes.”

Prerequisites / Setup

  • wget/curl, unzip
  • Archive contents: civic-directory.json, postcard.txt, districts.csv

Recon

Step 1 — Download the field notes

Goal: Obtain the puzzle files.

wget "hxxp://54[.]72[.]82[.]22:8480/downloads/field-notes.zip"
unzip field-notes.zip

Archive contents: civic-directory.json, postcard.txt, districts.csv.

Step 2 — Inspect the postcard

Goal: Extract the three venue clues.

postcard.txt:

Lunch beneath a glass roof, somewhere east of the river. The brass plaque said 1997.

Clues:

  • Roof: glass
  • Location: east of the river
  • Year on plaque: 1997

Step 3 — Map the district to the river side

Goal: Resolve “east of the river” to a district using districts.csv.

districts.csv:

district,river_side
North,north
East,east
South,south
West,west

East district is on the east side of the river.

So the venue has:

district = East
roof = glass
year = 1997

Enumeration

Step 4 — Search the civic directory

Goal: Find the unique venue matching all three clues.

civic-directory.json, relevant entry:

{
  "ref": "ba57ce94e3",
  "name": "House 18",
  "district": "East",
  "opened": 1997,
  "roof": "glass",
  "seats": 307
}

All three clues match:

Clue Directory value
Glass roof glass
East of river East → east
Plaque 1997 opened: 1997

Venue: House 18 Collection reference: ba57ce94e3

Exploitation

Step 5 — Submit the answer

Goal: POST the collection reference to the challenge.

curl -i \
  -X POST \
  "hxxp://54[.]72[.]82[.]22:8480/submit" \
  -H 'Content-Type: application/json' \
  -d '{"answer":"ba57ce94e3"}'
{
  "message": "safctf{REDACTED}",
  "ok": true
}

Flag

safctf{REDACTED}

Returned after submitting reference ba57ce94e3.

Mitigations

  • Apply proper input validation and sanitization for all user-supplied data.
  • Use parameterized queries or prepared statements for database operations.
  • Implement proper authentication and authorization checks.
  • Follow the principle of least privilege for all application components.

Lessons / Takeaways

  • Combine independent clues (roof, river side, year) to identify a single record rather than guessing.
  • Use the supporting reference data (districts.csv) to interpret directional clues correctly.
  • Read the submission endpoint/format before computing the final answer.

Techniques

  • OSINT

References

n/a — all sources were the challenge-provided field-notes archive.