CVE-2024-27917: Shopware's session is persistent in Cache for 404 pages
N/A
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.15852%
CWE
Published
3/6/2024
Updated
3/6/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
shopware/storefront | composer | >= 6.5.8.0, < 6.5.8.7 | 6.5.8.7 |
shopware/platform | composer | >= 6.5.8.0, < 6.5.8.7 | 6.5.8.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from cached 404 responses retaining session cookies. The commit diff shows the fix added session cookie removal logic directly in NotFoundSubscriber::onError. Prior to the patch, this method would cache responses without sanitizing cookies, making it the vulnerable entry point. The session cookie handling by Symfony's AbstractSessionHandler combined with missing cookie cleanup in the caching flow created the exposure.