COPS-IITBHU / COPS-IITBHU/BugHunt-COPS-Week

Sensitive routes not protected

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- fetching all user details and update user route not protected
- Expected :- not all users should have access to update others details and un-authorised users should not be able to fetch all all users data

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the routes that fetch all user details and update user details, then read how authentication and authorization are currently handled there. Done means unauthorized requests cannot fetch all users and an authenticated user cannot update another user's details; verify both behaviors with the repository's existing test or request workflow if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.