VDB
Sign up
HIGH7.5

GHSA-pf38-v6qj-j23h

Malfunction of CSRF token validation in Shopware

Quick fix

GHSA-pf38-v6qj-j23h — shopware/shopware: upgrade to the fixed version with the command below.

composer require shopware/shopware:^5.7.9

Details

### Impact The CSRF tokens were not renewed after login and logout. An attacker could impersonate the victim if the attacker is able to use the same device as the victim used beforehand.

### 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.2.0Fixed 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"]}'