GHSA-99r3-xmmq-7q7g eZ Platform users with the Company admin role can assign any role to any user
Users with Company admin role or role assignment policy can bypass subtree limitations to assign any role to any user, leading to privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-99r3-xmmq-7q7g?
GHSA-99r3-xmmq-7q7g is a vulnerability in ezsystems/ezpublish-kernel, published on 10 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-99r3-xmmq-7q7g?
2 open source packages ship an affected version, including ezsystems/ezpublish-kernel.
| Package | Affected | Fixed in |
|---|---|---|
ezsystems/ezpublish-kernel Packagist | From 7.5.0 | 7.5.30 |
ezsystems/ezpublish-kernel Packagist | From 7.5.0 | 7.5.30 |
How do I fix GHSA-99r3-xmmq-7q7g?
Upgrade ezsystems/ezpublish-kernel to 7.5.30 or later.
Is GHSA-99r3-xmmq-7q7g being exploited?
There is no known exploitation of GHSA-99r3-xmmq-7q7g in the wild and no public exploit code.