Shopware is an open commerce platform. The store-API works with regular entities and not expose all fields for the public API; fields need to be marked as ApiAware in the EntityDefinition. So only ApiAware fields of the EntityDefinition will be encoded to the final JSON. Prior to versions 6.6.5.1 and 6.5.8.13, the processing of the Criteria did not considered ManyToMany associations and so they were not considered properly and the protections didn't get used. This issue cannot be reproduced with the default entities by Shopware, but can be triggered with extensions. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.
History

Mon, 12 Aug 2024 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Shopware
Shopware shopware
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
Vendors & Products Shopware
Shopware shopware

Thu, 08 Aug 2024 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Aug 2024 15:00:00 +0000

Type Values Removed Values Added
Description Shopware is an open commerce platform. The store-API works with regular entities and not expose all fields for the public API; fields need to be marked as ApiAware in the EntityDefinition. So only ApiAware fields of the EntityDefinition will be encoded to the final JSON. Prior to versions 6.6.5.1 and 6.5.8.13, the processing of the Criteria did not considered ManyToMany associations and so they were not considered properly and the protections didn't get used. This issue cannot be reproduced with the default entities by Shopware, but can be triggered with extensions. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.2, 6.3, and 6.4, corresponding security measures are also available via a plugin.
Title Shopware vulnerable to Improper Access Control with ManyToMany associations in store-api
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-08-08T14:44:24.678Z

Updated: 2024-08-08T15:24:38.347Z

Reserved: 2024-07-30T14:01:33.922Z

Link: CVE-2024-42354

cve-icon Vulnrichment

Updated: 2024-08-08T15:24:34.884Z

cve-icon NVD

Status : Analyzed

Published: 2024-08-08T15:15:17.793

Modified: 2024-08-12T15:49:58.230

Link: CVE-2024-42354

cve-icon Redhat

No data.