Shopware: Privilege escalation: non-admin user with user:create ACL can create admin accounts
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.5epss 0.3%
exploitation probability
0.3%top 82% of all CVEs
observed exploitation
nono source reports it
Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, UserController::upsertUser() in src/Core/Framework/Api/Controller/UserController.php writes raw user data in SYSTEM_SCOPE without filtering the admin field, so a non-admin API user with user:create or user:update ACL permission can set admin: true on new or existing users; IntegrationController::upsertIntegration() contains an isAdmin() check for the same field, but UserController was missing this check. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
References
https://github.com/shopware/shopware/commit/7f1cef324ca4edfa6369264cc1c41287d032624dhttps://github.com/shopware/shopware/commit/d8d9a34a9255abf69c2798015a17cd6a80b08c25https://github.com/shopware/shopware/releases/tag/v6.6.10.18https://github.com/shopware/shopware/releases/tag/v6.7.10.1https://github.com/shopware/shopware/security/advisories/GHSA-v39m-97p8-gqg7