ClowderBank

CORS Null Origin

The API trusts the null origin — sent by sandboxed iframes.

Steps:

  1. Log in as Alice
  2. Visit /attacker — the sandboxed iframe reads your session data
  3. The flag appears when the CORS bypass succeeds

Hint: sandbox="allow-scripts" iframes get Origin: null