Wger-project wger
wger has Broken Access Control in the Global Gym Configuration Update Endpoint
wger is a free, open-source workout and fitness manager. In versions 2.5 and below, the GymConfigUpdateView declares permission_required = 'config.change_gymconfig' but inherits WgerFormMixin instead of WgerPermissionMixin, so the permission is never enforced at runtime. Since GymConfig is an ownerless singleton, any authenticated user can modify the global gym configuration, triggering save() side effects that bulk-update user profile gym assignments — a vertical privilege escalation to installation-wide configuration control. This issue is fixed in version 2.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.5
Fixed in 2.5
Mitigation
Upgrade wger to 2.5 or later.
References
- Vendor advisory github.com/wger-project/wger/security/advisori…
- Patch github.com/wger-project/wger/commit/47ee5af93b…
- Release notes github.com/wger-project/wger/releases/tag/2.5
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.