CVE-2024-31447
Shopware Improper Session Handling in store-api account logout
Auswirkung
### 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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | shopware/core | >= 6.3.5.0, < 6.5.8.8 | 6.5.8.8 |
| composer | shopware/platform | >= 6.3.5.0, < 6.5.8.8 | 6.5.8.8 |
Betroffene Produkte · Shopware
| Produkt | Betroffene Versionen |
|---|---|
| Shopware | ab 6.3.5.0 vor 6.5.8.8 ab 6.6.0.0 vor 6.6.1.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77
- https://github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3
- https://github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7
- https://github.com/advisories/GHSA-5297-wrrp-rcj7
- https://nvd.nist.gov/vuln/detail/CVE-2024-31447