Server-Side Request Forgery (SSRF) in Shopware
Published 22 Apr 2022 · Updated 8 Nov 2023
Affected packages
- Affected
- <6.4.10.1
- Fixed in
- 6.4.10.1
composer require shopware/platform:^6.4.10.1- Affected
- <6.4.10.1
- Fixed in
- 6.4.10.1
composer require shopware/core:^6.4.10.1Details
Impact
The attacker can abuse the Admin SDK functionality on the server to read or update internal resources.
Patches
We recommend updating to the current version 6.4.10.1. You can get the update to 6.4.10.1 regularly via the Auto-Updater or directly via the download overview.
https://www.shopware.com/en/download/#shopware-6
Workarounds
For older versions of 6.1, 6.2, and 6.3, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Is GHSA-7gm7-8q8v-9gf2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected shopware/platform, and gives you the command that fixes it.
References
- Linkgithub.com/shopware/platform/security/advisories/GHSA-7gm7-8q8v-9gf2
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-24871
- Linkgithub.com/shopware/platform/commit/083765e2d64a00315050c4891800c9e98ba0c77c
- Linkdocs.shopware.com/en/shopware-6-en/security-updates/security-update-04-2022
- Packagegithub.com/shopware/platform
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.