VDB
Sign up
MEDIUM5.3

GHSA-5297-wrrp-rcj7

Shopware Improper Session Handling in store-api account logout

Quick fix

GHSA-5297-wrrp-rcj7 — shopware/core: upgrade to the fixed version with the command below.

composer require shopware/core:^6.5.8.8

Details

### Impact

When a authentificated request is made to `POST /store-api/account/logout`, the cart will be cleared, but the User won't be logged out. This affects only the direct store-api usage, as the PHP Storefront listens additionally on `CustomerLogoutEvent` and invalidates the session additionally.

### Patches The problem has been fixed with Shopware 6.6.1.0 and 6.5.8.8.

### Workarounds When you are not able to update, you can install the latest version of the Shopware Security Plugin.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/core
Introduced in: 6.3.5.0Fixed in: 6.5.8.8
Fixcomposer require shopware/core:^6.5.8.8
Packagist/shopware/platform
Introduced in: 6.3.5.0Fixed in: 6.5.8.8
Fixcomposer require shopware/platform:^6.5.8.8
Packagist/shopware/core
Introduced in: 6.6.0.0-rc1Fixed in: 6.6.1.0
Fixcomposer require shopware/core:^6.6.1.0
Packagist/shopware/platform
Introduced in: 6.6.0.0-rc1Fixed in: 6.6.1.0
Fixcomposer require shopware/platform:^6.6.1.0

References