Description (CNA)
wger is a free, open-source workout and fitness manager. Prior to version 2.6, five gym management views in wger apply a flawed gym-scope guard (`gym_a != gym_b`) that silently passes when both operands are `None`. A trainer with `gym.gym_trainer` and `gym.add_adminusernote` permissions and no gym assignment (`gym=None`) can read private admin notes, uploaded documents, gym contracts, user configuration, and user permission data for **any other unaffiliated user** on the instance. The subsequent querysets filter only on the attacker-supplied `member_id` with no secondary gym-scoped validation, so all records are disclosed. Version 2.6 fixes the issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| wger-project / wger | affected < 2.6 |
CWE
CWE-863
References
- https://github.com/wger-project/wger/security/advisories/GHSA-c72h-82w6-rqfp
- https://github.com/wger-project/wger/releases/tag/2.6
ADP enrichment
No English description supplied.