Description (CNA)
Pagekit CMS 1.0.18 contains a privilege escalation vulnerability that allows authenticated users with the 'user: manage users' permission to escalate privileges by assigning arbitrary custom roles to themselves due to missing authorization checks in UserApiController::saveAction(). Attackers can assign themselves a custom role with the 'system: manage packages' permission and then upload and install a malicious PHP package through the admin package installer to achieve remote code execution.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| pagekit / pagekit | affected 0 through 1.0.18 |
CWE
CWE-862
References
- https://gist.github.com/sermikr0/6f0a67e9d101746fcdb04827de137847
- https://www.vulncheck.com/advisories/pagekit-cms-privilege-escalation-via-userapicontroller
ADP enrichment
No English description supplied.
No references supplied.