Target Briefing: Quantum Cloud Token Gateway
QuantumAPI serves sensitive account tokens and private keys at /api/user/credentials.
To accommodate third-party integrations, the backend reads the incoming Origin header and reflects it directly:
Access-Control-Allow-Origin: <incoming origin>
Access-Control-Allow-Credentials: true
Your Objective:
- Use the attacker console to forge an asynchronous cross-origin fetch request with credentials included.
- Read the confidential response payload and extract the administrative master key.
- CORS allows reading responses when
credentials: 'include' is matched by Access-Control-Allow-Credentials: true.
- Execute the exploit script to pull the victim's secret token into the attacker listener.