Attacker Demo Page
This page simulates a cross-origin attack exploiting the CORS misconfiguration.
How it works
- The victim visits this page while logged into Clowder (session cookie set).
- JavaScript fetches
/api/profilewithcredentials: 'include'. - The server reflects the attacker's origin in
Access-Control-Allow-Origin. - The browser allows the response to be read — the attacker extracts the data.
Fetch Result
Setting up demo session cookie and fetching...