Shopware: Privilege escalation: non-admin user with user:create ACL can create admin accounts
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.10.18, 6.7.10.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- shopware shopware
fixed in 6.6.10.18; From 6.7.0.0 · fixed in 6.7.10.1
- shopware platform
fixed in 6.6.10.18; From 6.7.0.0 · fixed in 6.7.10.1
- shopware/platformPackagist
From 6.7.0.0 · fixed in 6.7.10.1
- shopware/platformPackagist
fixed in 6.6.10.18
- shopware/corePackagist
From 6.7.0.0 · fixed in 6.7.10.1
- shopware/corePackagist
fixed in 6.6.10.18