From 1d484800408e01351323988600ab670a9105aa13 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 18:51:59 +0000 Subject: [PATCH] Publish Advisories GHSA-65v7-wg35-2qpm GHSA-945h-6vcv-pc8h --- .../GHSA-65v7-wg35-2qpm.json | 103 ++++++++++++++++++ .../GHSA-945h-6vcv-pc8h.json | 103 ++++++++++++++++++ 2 files changed, 206 insertions(+) create mode 100644 advisories/github-reviewed/2024/05/GHSA-65v7-wg35-2qpm/GHSA-65v7-wg35-2qpm.json create mode 100644 advisories/github-reviewed/2024/05/GHSA-945h-6vcv-pc8h/GHSA-945h-6vcv-pc8h.json diff --git a/advisories/github-reviewed/2024/05/GHSA-65v7-wg35-2qpm/GHSA-65v7-wg35-2qpm.json b/advisories/github-reviewed/2024/05/GHSA-65v7-wg35-2qpm/GHSA-65v7-wg35-2qpm.json new file mode 100644 index 00000000000..1914adf9f8e --- /dev/null +++ b/advisories/github-reviewed/2024/05/GHSA-65v7-wg35-2qpm/GHSA-65v7-wg35-2qpm.json @@ -0,0 +1,103 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-65v7-wg35-2qpm", + "modified": "2024-05-29T18:50:22Z", + "published": "2024-05-29T18:50:22Z", + "aliases": [ + + ], + "summary": "Sylius Resource Bundle Cross-Site Request Forgery vulnerability", + "details": "Sylius 1.0.0 to 1.0.16, 1.1.0 to 1.1.8, 1.2.0 to 1.2.1 versions of AdminBundle and ResourceBundle are affected by this security issue.\n\nThis issue has been fixed in Sylius 1.0.17, 1.1.9 and 1.2.2. Development branch for 1.3 release has also been fixed.\n\n### Description\n\nThe following actions in the admin panel did not require a CSRF token:\n\n- marking order’s payment as completed\n- marking order’s payment as refunded\n- marking product review as accepted\n- marking product review as rejected\n\n### Resolution\n\nThe issue is fixed by adding a required CSRF token to those actions.\n\nWe also fixed `ResourceController`‘s `applyStateMachineTransitionAction` method by adding a CSRF token check. If you use that action in the API context, you can disable it by adding `csrf_protection:` false to its routing configuration", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "sylius/resource-bundle" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.0.0" + }, + { + "fixed": "1.0.17" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Packagist", + "name": "sylius/resource-bundle" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.1.0" + }, + { + "fixed": "1.1.9" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Packagist", + "name": "sylius/resource-bundle" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.2.0" + }, + { + "fixed": "1.2.2" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Sylius/SyliusResourceBundle/commit/9720ac5a0a39ea2c2a395ef16a94a00aa86c418b" + }, + { + "type": "WEB", + "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/sylius/2018-07-09.yaml" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Sylius/SyliusResourceBundle" + }, + { + "type": "WEB", + "url": "https://sylius.com/blog/csrf-vulnerability-in-admin-panel" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-352" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-05-29T18:50:22Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2024/05/GHSA-945h-6vcv-pc8h/GHSA-945h-6vcv-pc8h.json b/advisories/github-reviewed/2024/05/GHSA-945h-6vcv-pc8h/GHSA-945h-6vcv-pc8h.json new file mode 100644 index 00000000000..10f71b38af1 --- /dev/null +++ b/advisories/github-reviewed/2024/05/GHSA-945h-6vcv-pc8h/GHSA-945h-6vcv-pc8h.json @@ -0,0 +1,103 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-945h-6vcv-pc8h", + "modified": "2024-05-29T18:50:26Z", + "published": "2024-05-29T18:50:26Z", + "aliases": [ + + ], + "summary": "Sylius Admin Bundle Cross-Site Request Forgery vulnerability", + "details": "Sylius 1.0.0 to 1.0.16, 1.1.0 to 1.1.8, 1.2.0 to 1.2.1 versions of AdminBundle and ResourceBundle are affected by this security issue.\n\nThis issue has been fixed in Sylius 1.0.17, 1.1.9 and 1.2.2. Development branch for 1.3 release has also been fixed.\n\n### Description\n\nThe following actions in the admin panel did not require a CSRF token:\n\n- marking order’s payment as completed\n- marking order’s payment as refunded\n- marking product review as accepted\n- marking product review as rejected\n\n### Resolution\n\nThe issue is fixed by adding a required CSRF token to those actions.\n\nWe also fixed `ResourceController`‘s `applyStateMachineTransitionAction` method by adding a CSRF token check. If you use that action in the API context, you can disable it by adding `csrf_protection:` false to its routing configuration", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "sylius/admin-bundle" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.0.0" + }, + { + "fixed": "1.0.17" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Packagist", + "name": "sylius/admin-bundle" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.1.0" + }, + { + "fixed": "1.1.9" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "Packagist", + "name": "sylius/admin-bundle" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.2.0" + }, + { + "fixed": "1.2.2" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Sylius/SyliusAdminBundle/commit/79c2d963bed61411b1eef15715a74d2d96b91884" + }, + { + "type": "WEB", + "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/admin-bundle/2018-07-09.yaml" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Sylius/SyliusAdminBundle" + }, + { + "type": "WEB", + "url": "https://sylius.com/blog/csrf-vulnerability-in-admin-panel" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-05-29T18:50:26Z", + "nvd_published_at": null + } +} \ No newline at end of file