Advisory

GHSA-5297-wrrp-rcj7

Also known as: CVE-2024-31447

Summary

Shopware Improper Session Handling in store-api account logout

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-08 15:48 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

shopware/core

Packagist · All systems

Affected

  • introduced 6.3.5.0, fixed 6.5.8.8 (ecosystem)

Fixed versions

6.5.8.8

Fix

The export has no generic command for this ecosystem.

shopware/platform

Packagist · All systems

Affected

  • introduced 6.3.5.0, fixed 6.5.8.8 (ecosystem)

Fixed versions

6.5.8.8

Fix

The export has no generic command for this ecosystem.

shopware/core

Packagist · All systems

Affected

  • introduced 6.6.0.0-rc1, fixed 6.6.1.0 (ecosystem)

Fixed versions

6.6.1.0

Fix

The export has no generic command for this ecosystem.

shopware/platform

Packagist · All systems

Affected

  • introduced 6.6.0.0-rc1, fixed 6.6.1.0 (ecosystem)

Fixed versions

6.6.1.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences