PT-2024-22134 · Redis+2 · Redis+2

Shyim

·

Published

2024-03-06

·

Updated

2024-03-06

·

CVE-2024-27917

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Shopware versions 6.5.8.0 through 6.5.8.6
Description The issue arises from the Symfony Session Handler popping the Session Cookie and assigning it to the Response. Since Shopware 6.5.8.0, 404 pages are cached to improve performance, resulting in a cached Response containing a Session Cookie when the browser accessing the 404 page has no cookies yet. This occurs when no explicit Session configuration has been done and Redis is not used for Sessions. The problem can lead to a guest browser session being cached on a 404 page, causing every missing image or direct access to a 404 page to logout the customer or clear their cart.
Recommendations For Shopware versions 6.5.8.0 through 6.5.8.6, update to Shopware version 6.5.8.7 to resolve the issue. As a temporary workaround for affected versions, consider using Redis for Sessions by configuring session.save handler = redis and session.save path = "tcp://127.0.0.1:6379" in php.ini, as this does not trigger the exploit code.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2024-27917
GHSA-C2F9-4JMM-V45M

Affected Products

Redis
Shopware
Symfony