CVE-2024-27917
published 2024-03-06CVE-2024-27917: 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…
PriorityP342high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.61%
45.1th percentile
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
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| shopware | platform | >= 6.5.8.0 < 6.5.8.7 | 6.5.8.7 |
| shopware | shopware | — | — |
| shopware | shopware | >= 6.5.8.0 < 6.5.8.7 | 6.5.8.7 |
| shopware | storefront | >= 6.5.8.0 < 6.5.8.7 | 6.5.8.7 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Shopware's session is persistent in Cache for 404 pages
ghsa·2024-03-06
CVE-2024-27917 [HIGH] CWE-524 Shopware's session is persistent in Cache for 404 pages
Shopware's session is persistent in Cache for 404 pages
### Impact
The Symfony Session Handler, pop's the Session Cookie and assign 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, 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.
### Patches
Update to Shopware version 6.5.8.7
### Workarounds
Using Redis for Sessions, as this does not trigger the exploit code. Example configuration for Redis
```ini
# php.ini
session.save_handler = redis
session.save_path = "tcp://127.0.0.1:63
OSV
Shopware's session is persistent in Cache for 404 pages
osv·2024-03-06
CVE-2024-27917 [HIGH] Shopware's session is persistent in Cache for 404 pages
Shopware's session is persistent in Cache for 404 pages
### Impact
The Symfony Session Handler, pop's the Session Cookie and assign 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, 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.
### Patches
Update to Shopware version 6.5.8.7
### Workarounds
Using Redis for Sessions, as this does not trigger the exploit code. Example configuration for Redis
```ini
# php.ini
session.save_handler = redis
session.save_path = "tcp://127.0.0.1:63
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/shopware/shopware/commit/7d9cb03225efca5f97e69b800d8747598dd15ce3https://github.com/shopware/shopware/releases/tag/v6.5.8.7https://github.com/shopware/shopware/security/advisories/GHSA-c2f9-4jmm-v45mhttps://github.com/shopware/storefront/commit/3477e4a425d3c54b4bfae82d703fe3838dc21d3ehttps://github.com/shopware/shopware/commit/7d9cb03225efca5f97e69b800d8747598dd15ce3https://github.com/shopware/shopware/releases/tag/v6.5.8.7https://github.com/shopware/shopware/security/advisories/GHSA-c2f9-4jmm-v45mhttps://github.com/shopware/storefront/commit/3477e4a425d3c54b4bfae82d703fe3838dc21d3e
2024-03-06
Published