LowGHSA-prg5-hg25-8grq
Ability to switch channels via GET parameter enabled in production environments
Affected versions
before 1.3.16, 1.4.0 to before 1.4.12, 1.5 to before 1.5.9, 1.6.0 to before 1.6.5 - fixed in 1.3.16Details
### Impact This vulnerability gives the ability to switch channels via the `_channel_code` GET parameter in production environments. This was meant to be enabled only when `%kernel.debug%` is set to true. However, if no `sylius_channel.debug` is set explicitly in the configuration, the default value which is `%kernel.debug%` will be not resolved and cast to boolean, enabling this debug feature even if that parameter is set to false. ### Patches Patch has been provided for Sylius 1.3.x and newer - **1.3.16, 1.4.12, 1.5.9, 1.6.5**. Versions older than 1.3 are not covered by our security sup
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-5218
- https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq
- https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2
- https://nvd.nist.gov/vuln/detail/CVE-2020-5218
- https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yaml
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected