ghsa-prg5-hg25-8grq
Vulnerability from github
Published
2020-01-31 18:00
Modified
2021-01-08 20:32
Severity ?
VLAI Severity ?
Summary
Ability to switch channels via GET parameter enabled in production environments
Details
Impact
This vulnerability gives 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.
Patches
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.
Workarounds
Unsupported versions could be patched by adding the following configuration to run in production:
yaml
sylius_channel:
debug: false
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "sylius/sylius" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.3.16" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "sylius/sylius" }, "ranges": [ { "events": [ { "introduced": "1.4.0" }, { "fixed": "1.4.12" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "sylius/sylius" }, "ranges": [ { "events": [ { "introduced": "1.5" }, { "fixed": "1.5.9" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "sylius/sylius" }, "ranges": [ { "events": [ { "introduced": "1.6.0" }, { "fixed": "1.6.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-5218" ], "database_specific": { "cwe_ids": [ "CWE-444" ], "github_reviewed": true, "github_reviewed_at": "2020-01-27T20:21:16Z", "nvd_published_at": null, "severity": "LOW" }, "details": "### Impact\n\nThis vulnerability gives 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. \n\nHowever, 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.\n\n### Patches\n\nPatch 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.\n\n### Workarounds\n\nUnsupported versions could be patched by adding the following configuration to run in production:\n\n```yaml\nsylius_channel:\n debug: false\n```", "id": "GHSA-prg5-hg25-8grq", "modified": "2021-01-08T20:32:23Z", "published": "2020-01-31T18:00:58Z", "references": [ { "type": "WEB", "url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq" }, { "type": "WEB", "url": "https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-5218" }, { "type": "WEB", "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yaml" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Ability to switch channels via GET parameter enabled in production environments" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…