Description (CNA)
wger is a free, open-source workout and fitness manager. In versions up to and including 2.4, three `nutritional_values` action endpoints fetch objects via `Model.objects.get(pk=pk)` — a raw ORM call that bypasses the user-scoped queryset. Any authenticated user can read another user's private nutrition plan data, including caloric intake and full macro breakdown, by supplying an arbitrary PK. Commit 29876a1954fe959e4b58ef070170e81703dab60e contains a fix for the issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| wger-project / wger | affected <= 2.4 |
CWE
CWE-639
References
- https://github.com/wger-project/wger/security/advisories/GHSA-g8gc-6c4h-jg86
- https://github.com/wger-project/wger/commit/29876a1954fe959e4b58ef070170e81703dab60e
ADP enrichment
No English description supplied.
No references supplied.