Skip to content

Conversation

@nightvision-pr-creator
Copy link

The endpoint performs a search for 'token items' without incorporating any user-specific authorization checks. The searchService.search() method is called directly with the search text from the path variable, but no authenticated user context (e.g., user ID) is passed to filter results based on ownership or permissions. If 'token items' are intended to be user-specific, this allows an authenticated user to search for and potentially retrieve information about token items belonging to other users, leading to unauthorized data access.

  • Severity: CRITICAL

  • Type: Broken Access Control

  • Category: security

  • Fix Applied: Updated file: src/main/java/hawk/service/SearchSer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant