All reports
Low

Sulu: Used API Keys may be available via Admin API

Affected versions

Composersulu/sulu
Affected versions
>= 3.0.0-alpha1, <= 3.0.5
Fixed version
3.0.6
Composersulu/sulu
Affected versions
<= 2.6.22
Fixed version
2.6.23

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.

Links

Credits

  • gangadhar-s-k
  • mamazu
  • alexander-schranz