Description
Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.6 and from version 5.0.0-RC1 to before version 5.9.12, a low-privilege user (or an unauthenticated user who has been sent a shared URL) can escalate their privileges to admin by abusing UsersController->actionImpersonateWithToken. This issue has been patched in versions 4.17.6 and 5.9.12.
Problem types
CWE-863: Incorrect Authorization
Product status
>= 5.0.0-RC1, < 5.9.12
References
github.com/...ms/cms/security/advisories/GHSA-cc7p-2j3x-x7xf
github.com/...ms/cms/security/advisories/GHSA-cc7p-2j3x-x7xf
github.com/...ommit/6301e217c5f15617d939c432cb770db50af14b33