MEDIUM6.5
GHSA-6m27-7cqj-2mxw
Shopware XXE Vulnerability
Quick fix
GHSA-6m27-7cqj-2mxw — shopware/shopware: upgrade to the fixed version with the command below.
composer require shopware/shopware:^5.3.4Details
Shopware before 5.3.4 has a PHP Object Instantiation issue via the sort parameter to the loadPreviewAction() method of the Shopware_Controllers_Backend_ProductStream controller, with resultant XXE via instantiation of a SimpleXMLElement object.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/shopware/shopware
Introduced in:
0Fixed in: 5.3.4Fix
composer require shopware/shopware:^5.3.4References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18357[ADVISORY]
- https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe[WEB]
- https://demo.ripstech.com/projects/shopware_5.3.3[WEB]
- http://packetstormsecurity.com/files/152995/Shopware-createInstanceFromNamedArguments-PHP-Object-Instantiation.html[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"]}'