OAuth CSRF Demo - DFL-025-25

This application demonstrates an OAuth CSRF vulnerability due to missing state parameter.

How the OAuth Flow Works

  1. User clicks login, which redirects to the OAuth provider
  2. Provider authorizes and redirects back with an auth code
  3. Callback exchanges code and links OAuth account to the session
  4. Vulnerability: No state parameter means an attacker can craft a malicious callback URL

Available Users

Endpoints

Try It

Login as admin | Login as attacker