OAuth Token Leakage via Referer - DFL-028-25

This application demonstrates OAuth token leakage through the HTTP Referer header.

How It Works

  1. After OAuth login, the user is redirected to /dashboard?token=ACCESS_TOKEN
  2. The dashboard page includes an external tracking pixel: <img src="/api/track/pixel.gif">
  3. The browser sends the full dashboard URL (including the token) as the Referer header
  4. The tracking endpoint logs the Referer, exposing the access token

Endpoints

Login





Credentials