Sulu: Used API Keys may be available via Admin API
Impact
The users endpoint controller exposes a project's apiKey field to the logged-in user, provided they have permission for that endpoint. This only has impact if a project itself uses that specific field, Sulu itself does nothing with it and has no authentication per apiKey in its core.
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 3.0.0-alpha1 before 3.0.6Ecosystem versions | 3.0.6 |
| Earlier releases before 2.6.23Ecosystem versions | 2.6.23 |
Version evidence: OSV · GHSA-9m6v-8fxc-4r44
View original version evidence (381 explicit versions)
Original source description
Impact
The users endpoint controller exposes a project's apiKey field to the logged-in user, provided they have permission for that endpoint. This only has impact if a project itself uses that specific field, Sulu itself does nothing with it and has no authentication per apiKey in its core.
Patches
A patch is released with Version 2.6.23 and 3.0.5.
Workarounds
Remove the field descriptor by patch the UserController.php File in Sulu Security Bundle.