Company admin role gives excessive privileges in eZ Platform Ibexa
Impact
Users with the Company admin role (introduced by the company account feature in v4) can assign any role to any user. This also applies to any other user that has the role / assign policy. Any subtree limitation in place does not have any effect.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 7.5.0 before 7.5.30Ecosystem versions | 7.5.30 |
Version evidence: OSV · GHSA-qq2j-9pf8-g58c
View original version evidence (37 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 1.3.0 before 1.3.26Ecosystem versions | 1.3.26 |
Version evidence: OSV · GHSA-qq2j-9pf8-g58c
View original version evidence (27 explicit versions)
Original source description
Users with the Company admin role (introduced by the company account feature in v4) can assign any role to any user. This also applies to any other user that has the role / assign policy. Any subtree limitation in place does not have any effect.
The role / assign policy is typically only given to administrators, which limits the scope in most cases, but please verify who has this policy in your installaton. The fix ensures that subtree limitations are working as intended.
References
- Security advisory github.com/ezsystems/ezplatform-kernel/security/advisories/GHSA-8h83-chh2-fchp
- Security advisory github.com/ezsystems/ezpublish-kernel/security/advisories/GHSA-99r3-xmmq-7q7g
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-48365
- Patch github.com/ezsystems/ezpublish-kernel/commit/957e67a08af2b3265753f9763943e8225ed779ab
- Security advisory developers.ibexa.co/security-advisories/ibexa-sa-2022-009-critical-vulnerabilities-in-graphql-role-assignment-ct-editing-and-drafts-tooltips
- Source reference github.com/ezsystems/ezpublish-kernel