Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-31447 EUVD-2024-1097GHSA-5297-wrrp-rcj7

Shopware has Improper Session Handling in store-api

Published Apr 8, 2024 · Updated Sep 3, 2024 · Assigned by GitHub_M

Description

Shopware 6 is an open commerce platform based on Symfony Framework and Vue. Starting in version 6.3.5.0 and prior to versions 6.6.1.0 and 6.5.8.8, when a authenticated 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. The problem has been fixed in Shopware 6.6.1.0 and 6.5.8.8. Those who are unable to update can install the latest version of the Shopware Security Plugin as a workaround.

Affected products

VendorProductAffectedFixed
shopware shopware >= 6.3.5.0, < 6.5.8.8, >= 6.6.0.0-rc1, < 6.6.1.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist shopware/core >= 6.3.5.0, < 6.5.8.8 6.5.8.8 GHSA-5297-wrrp-rcj7
Packagist shopware/core >= 6.6.0.0-rc1, < 6.6.1.0 6.6.1.0 GHSA-5297-wrrp-rcj7
Packagist shopware/platform >= 6.3.5.0, < 6.5.8.8 6.5.8.8 GHSA-5297-wrrp-rcj7
Packagist shopware/platform >= 6.6.0.0-rc1, < 6.6.1.0 6.6.1.0 GHSA-5297-wrrp-rcj7

References