CVE-2024-31447: Shopware has Improper Session Handling in store-api

Published Apr 8, 2024
·
Updated

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.

Other sources

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.

NVD

Affected Software

6 affected componentsFixes available
composer/shopware/platform>=6.6.0.0-rc1<6.6.1.0
6.6.1.0
composer/shopware/core>=6.6.0.0-rc1<6.6.1.0
6.6.1.0
composer/shopware/platform>=6.3.5.0<6.5.8.8
6.5.8.8
composer/shopware/core>=6.3.5.0<6.5.8.8
6.5.8.8
Shopware Shopware>=6.3.5.0<6.5.8.8
Shopware Shopware>=6.6.0.0<6.6.1.0

Event History

Apr 8, 2024
CVE Published
via MITRE·03:39 PM
Data Sourced
via MITRE·03:39 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:48 PM
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-31447?

CVE-2024-31447 has a medium-severity rating due to an authentication issue that allows cart clearing without proper user logout.

2

How do I fix CVE-2024-31447?

To resolve CVE-2024-31447, upgrade to version 6.6.1.0 or 6.5.8.8 of the affected Shopware packages.

3

What is the impact of CVE-2024-31447?

The impact of CVE-2024-31447 is that authenticated users can clear their cart without being logged out, potentially leading to confusion or misuse.

4

Which versions are affected by CVE-2024-31447?

CVE-2024-31447 affects versions from 6.3.5.0 up to 6.6.0.0-rc1 of Shopware platform and core.

5

Who is impacted by CVE-2024-31447?

Any users utilizing the Shopware platform or core within the specified version range are at risk due to CVE-2024-31447.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203