Fitness Authorization: Eliminate Cross-User Data Access #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This issue covers cross-user authorization flaws in Fitness.
Problems:
user_idvalues to read other users' entries, totals, and goals/api/usersexposes all users to any authenticated callerFiles:
Acceptance criteria:
user_idquery parameters are ignored or rejected for non-admin users/api/usersis removed or restricted to an explicit admin roleFixed in commit
fb79f15Changes (services/fitness/server.py):
Verified:
Remaining risk: none for this issue scope.