Unauthenticated OAuth Token Leading to Access to Protected APIs
What started as a simple JavaScript analysis ended in a broken OAuth flow that allowed unauthenticated access to protected APIs — and a €1500 bug bounty reward.
Summary
While performing reconnaissance on a web application, I discovered that it was possible to obtain a valid OAuth access token without any authentication.
The issue started with a publicly accessible JavaScript file exposing an OAuth client_id.
Using this identifier, the authorization server issued a valid access token without requiring any user authentication.
The token could then be used to interact with protected backend APIs that executed real business logic.