CVE-2020-5218: Ability in Sylius to switch channels via GET parameter enabled in production environments
Affected versions of Sylius give attackers the ability to switch channels via the channelcode GET parameter in production environments. This was meant to be enabled only when kernel.debug is set to true. However, if no syliuschannel.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Syliusto a version that resolves this vulnerability.Fixed in 1.3.16 - Upgrade
Upgrade
Syliusto a version that resolves this vulnerability.Fixed in 1.4.12 - Upgrade
Upgrade
Syliusto a version that resolves this vulnerability.Fixed in 1.5.9 - Upgrade
Upgrade
Syliusto a version that resolves this vulnerability.Fixed in 1.6.5
Event History
Frequently Asked Questions
What is CVE-2020-5218?
CVE-2020-5218 is a vulnerability in Sylius which allows attackers to switch channels via the _channel_code GET parameter in production environments.
What versions of Sylius are affected by CVE-2020-5218?
Versions 1.3.0 to 1.3.13, 1.4.0 to 1.4.6, 1.5.0, and 1.6.0 to 1.6.3 of Sylius are affected by CVE-2020-5218.
What is the severity of CVE-2020-5218?
CVE-2020-5218 has a severity of medium with a CVSS score of 4.3.
How can I fix CVE-2020-5218?
To fix CVE-2020-5218, update Sylius to a version that is not affected by the vulnerability.
Where can I find more information about CVE-2020-5218?
You can find more information about CVE-2020-5218 at the following references: [link1], [link2].