Skip to content

CVE-2024-27917 Shopware's session is persistent in Cache for 404 pages

HighCVSS 7.5 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
PHP

Description

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
Shopware = >= 6.5.8.0, < 6.5.8.7; >= 6.5.8.0, < 6.5.8.7 6.5.8.7 Fixed
shopware/platform(Packagist) = v6.5.8.0; = v6.5.8.1; = v6.5.8.2; = v6.5.8.3 +4 more 6.5.8.7 Fixed
shopware/storefront(Packagist) = v6.5.8.0; = v6.5.8.1; = v6.5.8.2; = v6.5.8.3 +4 more 6.5.8.7 Fixed

Affected products

ProductAffected versionsFixed in
shopware/storefront(Packagist) >= 6.5.8.0, < 6.5.8.7 6.5.8.7
shopware/storefront(Packagist) = v6.5.8.0 No fix listed
shopware/storefront(Packagist) = v6.5.8.1 No fix listed
shopware/storefront(Packagist) = v6.5.8.2 No fix listed
shopware/storefront(Packagist) = v6.5.8.3 No fix listed
shopware/storefront(Packagist) = v6.5.8.4 No fix listed
shopware/storefront(Packagist) = v6.5.8.5 No fix listed
shopware/storefront(Packagist) = v6.5.8.6 No fix listed
shopware/platform(Packagist) >= 6.5.8.0, < 6.5.8.7 6.5.8.7
shopware/platform(Packagist) = v6.5.8.0 No fix listed
shopware/platform(Packagist) = v6.5.8.1 No fix listed
shopware/platform(Packagist) = v6.5.8.2 No fix listed
shopware/platform(Packagist) = v6.5.8.3 No fix listed
shopware/platform(Packagist) = v6.5.8.4 No fix listed
shopware/platform(Packagist) = v6.5.8.5 No fix listed
shopware/platform(Packagist) = v6.5.8.6 No fix listed
Shopware = >= 6.5.8.0, < 6.5.8.7 No fix listed
Shopware >= 6.5.8.0, < 6.5.8.7 6.5.8.7

References