Shopware: Admin Account Takeover via User Recovery Hash Exposure
shopware · shopware platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| shopware/platform Packagist |
|
|
| shopware/core Packagist |
|
shopware · shopware platform
| Product | Affected | Fixed in |
|---|---|---|
| shopware/platform Packagist |
|
|
| shopware/core Packagist |
|
|
Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, a low-privilege admin user with user_recovery:read ACL can take over any admin account by triggering POST /api/_action/user/user-recovery, reading the password recovery hash through POST /api/search/user-recovery, and using PATCH /api/_action/user/user-recovery/password; the root cause is that src/Core/System/User/Recovery/UserRecoveryDefinition.php exposes the hash field through the Admin API without ApiAware(false) or ReadProtection. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.
From the CVE record · GitHub_M
Shopware exposes a password recovery hash through the Admin API. A low-privilege admin user with the user_recovery:read permission can use it to take over any admin account.
Operators of Shopware installations using affected shopware/platform or shopware/core versions before 6.6.10.18 or from 6.7.0.0 to before 6.7.10.1 should check their packages.