Prime CMS admin access via createUser authentication bypass
birkir prime
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| birkir prime |
| No fix yet |
Original description
Prime CMS (@primecms/core) through 0.4.0-beta.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to register accounts via the createUser mutation on /prime/graphql. Because the isAuthenticated() guard has its check commented out and createAbility() hard-codes every role to admin, attackers can log in with full administrative control over content, users, webhooks and settings.
From the CVE record · VulnCheck