Ability in Sylius to switch channels via GET parameter enabled in production environments
Sylius
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sylius/resource-bundle Packagist |
|
|
Sylius
| Product | Affected | Fixed in |
|---|---|---|
| sylius/resource-bundle Packagist |
|
|
| sylius/sylius Packagist |
|
|
Affected versions of Sylius give attackers 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. 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 support anymore.
From the CVE record · GitHub_M
Affected Sylius versions allow attackers to switch channels using the _channel_code GET parameter in production. This can happen when sylius_channel.debug is not explicitly configured: its default value is cast to true even when kernel.debug is false. The description does not specify whether authentication or user interaction is required.
Operators using affected versions of the Packagist packages sylius/resource-bundle or sylius/sylius should check their installations.