Improper access control in Sylius - CVE-2020-5218

 

Improper access control in Sylius - CVE-2020-5218

Published: January 27, 2020 / Updated: April 27, 2026


Vulnerability identifier: #VU128212
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-5218
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Sylius
Affected software:
Sylius

Detailed vulnerability description

The vulnerability allows a remote attacker to switch channels in production environments.

The vulnerability exists due to improper access control in the channel switching feature when processing the _channel_code GET parameter. A remote attacker can supply a crafted _channel_code parameter to switch channels in production environments.

The issue occurs when sylius_channel.debug is not explicitly set, causing the debug feature to remain enabled because the default %kernel.debug% value is not resolved and is cast to boolean.


How to mitigate CVE-2020-5218

Install security update from vendor's website.

Sources