CVE-2020-5218 Ability in Sylius to switch channels via GET parameter enabled in production environments

Medium 4.4 Published Updated

Attackers can bypass production security restrictions to switch channels via GET parameters due to a configuration resolution bug in Sylius.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-5218?

CVE-2020-5218 is a medium-severity vulnerability in Sylius, published on 27 Jan 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-444

Which versions are affected by CVE-2020-5218?

It affects 1 product.

Products include Sylius Sylius.

How do I fix CVE-2020-5218?

Apply the vendor's patch.

Is CVE-2020-5218 being exploited?

There is no known exploitation of CVE-2020-5218 in the wild and no public exploit code.

Sources

Is CVE-2020-5218 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free