eZ Platform users with the Company admin role can assign any role to any user
The advisory, in context
Critical severity. 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.
Affected 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.
From 2.5.0 before 2.5.15
Fixed in 2.5.15
17 explicitly affected versions
v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.13, v2.5.14, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.5-rc1, v2.5.6, v2.5.6-rc1, v2.5.7, v2.5.8, v2.5.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.15"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.5.0",
"v2.5.1",
"v2.5.10",
"v2.5.11",
"v2.5.12",
"v2.5.13",
"v2.5.14",
"v2.5.2",
"v2.5.3",
"v2.5.4",
"v2.5.5",
"v2.5.5-rc1",
"v2.5.6",
"v2.5.6-rc1",
"v2.5.7",
"v2.5.8",
"v2.5.9"
]
}References
- https://github.com/ezsystems/repository-forms/security/advisories/GHSA-446q-xxg5-3vhh
- https://github.com/ezsystems/repository-forms/commit/cac51487f8a10e48448399bedb45a519874f1006
- https://developers.ibexa.co/security-advisories/ibexa-sa-2022-009-critical-vulnerabilities-in-graphql-role-assignment-ct-editing-and-drafts-tooltips
- https://github.com/ezsystems/repository-forms