HIGH8.8
GHSA-rf8f-hqjv-986p
Shopware Insecure Deserialization Vulnerability
Details
In createInstanceFromNamedArguments in Shopware through 5.6.x, a crafted web request can trigger a PHP object instantiation vulnerability, which can result in an arbitrary deserialization if the right class is instantiated. An attacker can leverage this deserialization to achieve remote code execution. NOTE: this issue is a bypass for a CVE-2017-18357 whitelist patch.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/shopware/shopware
Introduced in:
5.3.0No fixed version published yet for shopware/shopware (composer). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12799[ADVISORY]
- https://github.com/rapid7/metasploit-framework/pull/11828[WEB]
- https://github.com/advisories/GHSA-6m27-7cqj-2mxw[ADVISORY]
- https://github.com/shopware5/shopware[PACKAGE]
- https://web.archive.org/web/20171112153855/https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/shopware/shopware"]}'