NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 3.1 5.3GHSA-5297-wrrp-rcj7

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.

Published Apr 8, 2024

Affected packages

shopware/core

Ecosystem
Composer (PHP)
Affected
>= 6.3.5.0, < 6.5.8.8
Fixed in
6.5.8.8
Check
composer show shopware/core

shopware/platform

Ecosystem
Composer (PHP)
Affected
>= 6.3.5.0, < 6.5.8.8
Fixed in
6.5.8.8
Check
composer show shopware/platform

shopware/core

Ecosystem
Composer (PHP)
Affected
>= 6.6.0.0-rc1, < 6.6.1.0
Fixed in
6.6.1.0
Check
composer show shopware/core

shopware/platform

Ecosystem
Composer (PHP)
Affected
>= 6.6.0.0-rc1, < 6.6.1.0
Fixed in
6.6.1.0
Check
composer show shopware/platform

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to mdanilowicz.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries