Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Improper Privilege Management vulnerabilities in an interactive lesson.
Start learningA fix was pushed into the master branch but not yet published.
Affected versions of this package are vulnerable to Improper Privilege Management via UserDeactivateView and UserActivateView in wger/core/views/user.py, where WgerMultiplePermissionRequiredMixin applies OR logic to the permission_required tuple, granting any user holding the gym.gym_trainer permission the ability to deactivate or activate accounts in the same gym. The dispatch() method checks only that the target belongs to the same gym, with no privilege-hierarchy check, so a trainer can deactivate gym_manager and general_gym_manager accounts, locking those users out of the application. The same flaw exists in UserActivateView, allowing a trainer to re-activate accounts as well.