VDB
Sign up
MEDIUM5.3

GHSA-hh7j-6x3q-f52h

Shopware 6 allows attackers to check for registered accounts through the store-api

Quick fix

GHSA-hh7j-6x3q-f52h — shopware/core: upgrade to the fixed version with the command below.

composer require shopware/core:^6.6.10.3

Details

### Impact Through the store-api it is possible as a attacker to check if a specific e-mail address has an account in the shop.

Using the store-api endpoint `/store-api/account/recovery-password` you get the response ``` {"errors":[{"status":"404","code":"CHECKOUT__CUSTOMER_NOT_FOUND","title":"Not Found","detail":"No matching customer for the email \u0022asdasfd@asdads.de\u0022 was found.","meta":{"parameters":{"email":"asdasfd@asdads.de"}}}]} ```

which indicates clearly that there is no account for this customer. In contrast you get a success response if the account was found.

### Patches Update to Shopware 6.6.10.3

### Workarounds For older versions of 6.5 or 6.4, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/core
Introduced in: 6.6.0.0Fixed in: 6.6.10.3
Fixcomposer require shopware/core:^6.6.10.3
Packagist/shopware/platform
Introduced in: 6.6.0.0Fixed in: 6.6.10.3
Fixcomposer require shopware/platform:^6.6.10.3
Packagist/shopware/core
Introduced in: 6.7.0.0-rc1Fixed in: 6.7.0.0-rc2
Fixcomposer require shopware/core:^6.7.0.0-rc2
Packagist/shopware/platform
Introduced in: 6.7.0.0-rc1Fixed in: 6.7.0.0-rc2
Fixcomposer require shopware/platform:^6.7.0.0-rc2
Packagist/shopware/core
Introduced in: 0Fixed in: 6.5.8.18
Fixcomposer require shopware/core:^6.5.8.18
Packagist/shopware/platform
Introduced in: 0Fixed in: 6.5.8.18
Fixcomposer require shopware/platform:^6.5.8.18

References