CVE-2024-27917

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27917
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27917.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27917
Aliases
Published
2024-03-06T19:36:27.357Z
Modified
2025-12-11T02:05:49.094652Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Shopware's session is persistent in Cache for 404 pages
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27917.json",
    "cwe_ids": [
        "CWE-524"
    ]
}
References

Affected packages

Git

github.com/shopware/platform

Affected ranges

Type
GIT
Repo
https://github.com/shopware/platform
Events

github.com/shopware/shopware

Affected ranges

Type
GIT
Repo
https://github.com/shopware/shopware
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

github.com/shopware/storefront

Affected ranges

Type
GIT
Repo
https://github.com/shopware/storefront
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed