Description
Vikunja is an open-source self-hosted task management platform. Prior to version 2.2.0, a flaw in Vikunja’s password reset logic allows disabled users to regain access to their accounts. The `ResetPassword()` function sets the user’s status to `StatusActive` after a successful password reset without verifying whether the account was previously disabled. By requesting a reset token through `/api/v1/user/password/token` and completing the reset via `/api/v1/user/password/reset`, a disabled user can reactivate their account and bypass administrator-imposed account disablement. Version 2.2.0 patches the issue.
Problem types
CWE-284: Improper Access Control
CWE-862: Missing Authorization
CWE-863: Incorrect Authorization
Product status
References
github.com/...ikunja/security/advisories/GHSA-vq4q-79hh-q767
github.com/...ommit/049f4a6be46f9460bd516f489ef9f569574bc70d
github.com/...ommit/d8570c603da1f26635ce6048d6af85ede827abfb
vikunja.io/changelog/vikunja-v2.2.0-was-released