CVE-2020-5218

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

State
Published
Severity
4.4 Medium
Published
Jan 27, 2020
Updated
Aug 4, 2024
Reserved
Jan 2, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')

Affected Products

ProductVersions
SyliusSylius
  • < 1.3.13Affected
  • >= 1.4.0, < 1.4.6Affected
  • >= 1.5.0, < 1.5.1Affected
  • >= 1.6.0, < 1.6.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.