Finding AS-001
Severity: High · Business impact: High
Broken Access Control in User Profile API
What we found
A logged-in user could access another user's profile information simply by changing a user identifier in an API request.
What an attacker could do
An attacker with any valid account could read the personal data of other users, without needing any further privileges.
Why it matters
If exploited in a real environment, this could expose customer data and create privacy, compliance and reputational risks for the business.
How to fix it
The application should enforce authorisation on the server for every request, verifying that the signed-in user is allowed to access the resource they are asking for rather than trusting the identifier supplied in the request.
Evidence
GET /api/v1/users/{userId}/profile

