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 Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.
Start learningUpgrade winter/wn-backend-module to version 1.2.13 or higher.
Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the process that handles backend controller method dispatching via the _handler POST field. An attacker can execute unauthorized controller methods by submitting crafted POST requests with arbitrary handler names, potentially modifying or deleting user records without proper permission checks. This is only exploitable if the attacker is an authenticated backend user with a valid session.
This vulnerability can be mitigated by validating the _handler POST field against the on[A-Z][\w+]* pattern in modules/backend/classes/Controller.php and removing the conditional that sets $requiredPermissions to null for the myaccount action in modules/backend/controllers/Users.php.