5.3medium
Shopware has Improper Session Handling in store-api
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5297-wrrp-rcj7
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
| Product or package | Versions | Reported by |
|---|---|---|
| shopware shopware | >= 6.3.5.0, < 6.5.8.8, >= 6.6.0.0-rc1, < 6.6.1.0, from 6.3.5.0 before 6.5.8.8, from 6.6.0.0 before 6.6.1.0 | CVE List, NVD |
| shopware/core (Packagist) | from 6.3.5.0 before 6.5.8.8, from 6.6.0.0-rc1 before 6.6.1.0 | GitHub Advisory Database |
| shopware/platform (Packagist) | from 6.3.5.0 before 6.5.8.8, from 6.6.0.0-rc1 before 6.6.1.0 | GitHub Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Shopware 6 es una plataforma de comercio abierta basada en Symfony Framework y Vue. A partir de la versión 6.3.5.0 y anteriores a las versiones 6.6.1.0 y 6.5.8.8, cuando se realiza una solicitud autenticada a `POST /store-api/account/logout`, el carrito se borrará, pero el Usuario no se va a desconectar. Esto afecta solo al uso directo de la API de la tienda, ya que PHP Storefront escucha adicionalmente en `CustomerLogoutEvent` e invalida la sesión adicionalmente. El problema se solucionó en Shopware 6.6.1.0 y 6.5.8.8. Aquellos que no puedan actualizar pueden instalar la última versión del complemento de seguridad de Shopware como workaround.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-31447 changed 2024-09-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5297-wrrp-rcj7 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-31447 changed 2026-06-17 | Public domain |