GHSA-6h7h-m7p5-hjqp
Sulu checks fix permissions for subentities endpoints
Quick fix
GHSA-6h7h-m7p5-hjqp — sulu/sulu: upgrade to the fixed version with the command below.
composer require sulu/sulu:^2.6.22Details
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/sulu/sulu"]}'