Skip to main content
← All vulnerabilities
CVE-2020-5218GHSA-PRG5-HG25-8GRQGHSA-8VP7-J5CJ-VVM2

Ability in Sylius to switch channels via GET parameter enabled in production environments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.13, 1.4.6, 1.5.1, 1.6.3, 1.3.16, and 5 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Sylius Sylius

    fixed in 1.3.13; From 1.4.0 · fixed in 1.4.6; From 1.5.0 · fixed in 1.5.1; From 1.6.0 · fixed in 1.6.3

  • sylius/syliusPackagist

    fixed in 1.3.16

  • sylius/syliusPackagist

    From 1.4.0 · fixed in 1.4.12

  • sylius/syliusPackagist

    From 1.5 · fixed in 1.5.9

  • sylius/syliusPackagist

    From 1.6.0 · fixed in 1.6.5

  • sylius/resource-bundlePackagist

    From 1.4.0 · fixed in 1.4.6

  • sylius/resource-bundlePackagist

    From 1.5.0 · fixed in 1.5.1

  • sylius/resource-bundlePackagist

    From 1.6.0 · fixed in 1.6.3

  • sylius/syliusPackagist

    fixed in 1.3.12

  • sylius/syliusPackagist

    From 1.4.0 · fixed in 1.4.4

  • sylius/resource-bundlePackagist

    From 1.0.0 · fixed in 1.3.13

References 2

GitHub · Sylius/SyliusResourceBundle

GitHub · FriendsOfPHP/security-advisories