GitHub Advisory Database
GHSA-6h7h-m7p5-hjqp
Sulu checks fix permissions for subentities endpoints
Details
Impact
A user which has permission for the Sulu Admin via atleast one role could have access to the subentities of contacts via the admin API without even have permission for contacts.
Patches
The issue was patched in release 2.6.22 and 3.0.5.
Workarounds
Create a Symfony Request Listener checking the permissions for the specific roles.
Resources
Github Advisory: https://github.com/sulu/sulu/security/advisories/GHSA-6h7h-m7p5-hjqp
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | sulu/sulu | From 1.0.0 before 2.6.22 (fixed in 2.6.22) |
| Packagist | sulu/sulu | From 3.0.0 before 3.0.5 (fixed in 3.0.5) |