Vulnerability · Published Mar 6, 2024 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity security flaw in shopware from shopware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 50.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistshopware/platform6.5.8.7GHSA-c2f9-4jmm-v45m
Packagistshopware/storefront6.5.8.7GHSA-c2f9-4jmm-v45m

Affected products (as reported)

VendorProductVersions
shopware shopware >= 6.5.8.0, < 6.5.8.7

Weakness: CWE-524 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References