← Back to arena
A02 · Security Misconfiguration · Hard

Shared Cache

A02 · ≈ 40 min · 0 solves

350POINTS
MISSIONDiscover the weakness independently

Explore the application as a real target: map the exposed functionality, inspect requests and responses, build a working exploit, and recover the rotating flag. If you get stuck, the verified official solution is available below as an optional spoiler.

Rules of engagement

Stay inside the generated lab URL. Use only the synthetic accounts and data in this instance. The main SecOne4all site and external systems are out of scope.

Challenge brief

FLAG REQUIREMENTS

What counts as a valid solve

Goal

A proxy caches authenticated profile data under a public cache key.

Required interaction

GET /api/cache/profile.

Completion proof

prove that the deployed configuration exposes the protected synthetic value or privileged operation; the successful workflow returns the current rotating flag.

Session rule

Work only inside your generated lab URL and submit the flag within 40 minutes.

VERIFIED WALKTHROUGH

Official solution

Contains the complete exploitation path. Open it only when you want the spoiler.

Reveal official solutionStep-by-step · verified against the live lab

Official solution · A02 · Shared Cache

Objective

A proxy caches authenticated profile data under a public cache key.

Steps

  1. Start the isolated lab and inspect the root page for the intended diagnostic or configuration surface.
  2. Enumerate only the synthetic endpoint named by the scenario; no external target is required.
  3. Send: GET /api/cache/profile with header X-Cache-User: previous-admin
  4. Confirm the response exposes the misconfiguration and contains the rotating flag field (or embeds it in the returned synthetic artifact).
  5. Submit the flag on the SecOne4all challenge page.

Expected proof

A successful response for private-response-caching returns the instance-specific rotating flag. The flag is valid only for the current player and running instance.

Safety boundary

Use only the generated lab URL. No request to the main site, another user, or an external service is part of this solution.