Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2024-27917: Shopware: Persistent Session Cookie on 404 Error Pages

CVE-2024-27917 · published 2 years ago
Summary

A vulnerability in Shopware allows an attacker to access sensitive information when a user reaches a 404 page. This is because the session cookie is not properly cleared when a 404 page is cached. To fix this, update to Shopware 6.5.8.7 or use Redis for sessions as a workaround.

What to do
  • Update shopware storefront to version 6.5.8.7.
  • Update shopware platform to version 6.5.8.7.
  • Update shopware shopware to version 6.5.8.7 or later.
Affected software
Ecosystem VendorProductAffected versions
composer shopware storefront >= 6.5.8.0, < 6.5.8.7
Fix: upgrade to 6.5.8.7
composer shopware platform >= 6.5.8.0, < 6.5.8.7
Fix: upgrade to 6.5.8.7
– shopware shopware >= 6.5.8.0, < 6.5.8.7
cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
Original advisory text
Shopware's session is persistent in Cache for 404 pages
Shopware is an open commerce platform based on Symfony Framework and Vue. The Symfony Session Handler pops the Session Cookie and assigns it to the Response. Since Shopware 6.5.8.0, the 404 pages are cached to improve the performance of 404 pages. So the cached Response which contains a Session Cookie when the Browser accessing the 404 page, has no cookies yet. The Symfony Session Handler is in use, when no explicit Session configuration has been done. When Redis is in use for Sessions using the PHP Redis extension, this exploiting code is not used. Shopware version 6.5.8.7 contains a patch for this issue. As a workaround, use Redis for Sessions, as this does not trigger the exploit code.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
7.5 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-524Use of Cache Containing Sensitive Information
Timeline
Published6 Mar 2024
Updated4 Nov 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta