Description
Movary is a self hosted web app to track and rate a user's watched movies. Prior to version 0.71.1, an ordinary authenticated user can escalate their own account to administrator by sending `isAdmin=true` to `PUT /settings/users/{userId}` for their own user ID. The endpoint is intended to let a user edit their own profile, but it updates the sensitive `isAdmin` field without any admin-only authorization check. Version 0.71.1 patches the issue.
Problem types
CWE-862: Missing Authorization
Product status
References
github.com/...movary/security/advisories/GHSA-mcfq-8rx7-w25v
github.com/leepeuker/movary/pull/750
github.com/...ommit/12c8a090051b1a1c07a3aa48922f3bc9ffe44c8b
github.com/leepeuker/movary/releases/tag/0.71.1