VDB
Sign up
MEDIUM6.4

GHSA-3qrq-r688-vvh4

Multiple valid tokens for password reset in Shopware

Quick fix

GHSA-3qrq-r688-vvh4 — shopware/shopware: upgrade to the fixed version with the command below.

composer require shopware/shopware:^5.7.9

Details

### Impact Multiple tokens for password reset could be requested. All tokens could be used to change the password. This makes it possible for an attacker to take over the victims account if s/he gains access to the victims email account and finds unused password reset token in the emails within the time frame of two hours.

### Patches We recommend updating to the current version 5.7.9. You can get the update to 5.7.9 regularly via the Auto-Updater or directly via the download overview. https://www.shopware.com/en/changelog-sw5/#5-7-9

For older versions you can use the Security Plugin: https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html

### References https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-04-2022

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/shopware
Introduced in: 5.0.4Fixed in: 5.7.9
Fixcomposer require shopware/shopware:^5.7.9

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/shopware/shopware"]}'