Vulnerability · Published Jan 27, 2020 · Assigned by GitHub_M

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

Medium 4.4

In plain English

A medium-severity security flaw in Sylius from Sylius. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)0.6%top 51.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistsylius/resource-bundle1.4.6GHSA-8vp7-j5cj-vvm2
Packagistsylius/resource-bundle1.5.1GHSA-8vp7-j5cj-vvm2
Packagistsylius/resource-bundle1.6.3GHSA-8vp7-j5cj-vvm2
Packagistsylius/resource-bundle1.3.13GHSA-8vp7-j5cj-vvm2
Packagistsylius/sylius1.4.4GHSA-8vp7-j5cj-vvm2
Packagistsylius/sylius1.6.5GHSA-prg5-hg25-8grq
Packagistsylius/sylius1.3.16GHSA-prg5-hg25-8grq
Packagistsylius/sylius1.4.12GHSA-prg5-hg25-8grq
Packagistsylius/sylius1.5.9GHSA-prg5-hg25-8grq
Packagistsylius/sylius1.3.12GHSA-8vp7-j5cj-vvm2

Affected products (as reported)

VendorProductVersions
Sylius Sylius < 1.3.13>= 1.4.0, < 1.4.6>= 1.5.0, < 1.5.1>= 1.6.0, < 1.6.3

Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

References