CVE-2017-18357 json
Shopware XXE Vulnerability
published 2019-01-15 7 y ago modified 2026-06-17 4 mo ago also GHSA-6m27-7cqj-2mxw , EUVD-2022-2819
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 27.1%
- EPSS 27.1% chance of exploitation in 30 days, percentile 98%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- packagist shopware/shopware 5.3.4
- shopware shopware 5.3.4
Timeline
- Published
- First public exploit (Metasploit exploit/multi/http/shopware_createinstancefromnamedarguments_rce)
Exploit prediction
27.07% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/shopware_createinstancefromnamedarguments_rce Shopware createInstanceFromNamedArguments PHP Object Instantiation RCE metasploit exploit, excellent rank, 2019-05-09
- EDB-46915 Shopware - createInstanceFromNamedArguments PHP Object Instantiation Remote Code Execution (Metasploit) remote, 2019-05-23
- blog.ripstech.com https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | shopware/shopware | <5.3.4 |
5.3.4 |
Classification
- Weakness
-
- CWE-610 Externally Controlled Reference to a Resource in Another Sphere
References
-
blog.ripstech.com
/2017/shopware-php-object-instantiation-to-blind-xxe/
exploit, third-party-advisory
-
demo.ripstech.com
/projects/shopware_5.3.3
web, third-party-advisory
-
packetstormsecurity.com
/files/152995/Shopware-createInstanceFromNamedArguments-PHP-Object-Instantiation.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-18357
advisory
-
blog.ripstech.com
/2017/shopware-php-object-instantiation-to-blind-xxe
web
Sources
- CVE List CVE-2017-18357
- GitHub Advisory GHSA-6m27-7cqj-2mxw
- NVD CVE-2017-18357
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.