Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopware/core
  4. ›
  5. CVE-2024-31447

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

April 8, 2024

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.

References

  • github.com/advisories/GHSA-5297-wrrp-rcj7
  • github.com/shopware/shopware
  • github.com/shopware/shopware/commit/5cc84ddd817ad0c1d07f9b3c79ab346d50514a77
  • github.com/shopware/shopware/commit/d29775aa758f70d08e0c5999795c7c26d230e7d3
  • github.com/shopware/shopware/security/advisories/GHSA-5297-wrrp-rcj7
  • nvd.nist.gov/vuln/detail/CVE-2024-31447

Code Behaviors & Features

Detect and mitigate CVE-2024-31447 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.3.5.0 before 6.5.8.8, all versions starting from 6.6.0.0-rc1 before 6.6.1.0

Fixed versions

  • 6.5.8.8
  • 6.6.1.0

Solution

Upgrade to versions 6.5.8.8, 6.6.1.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-613: Insufficient Session Expiration

Source file

packagist/shopware/core/CVE-2024-31447.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.