{"id":"CVE-2017-18357","published":"2019-01-15T16:00:00Z","modified":"2024-08-05T21:20:50Z","title":"Shopware before 5.3.4 has a PHP Object Instantiation issue via the sort parameter to the loadPreviewAction() method of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.27074,"percentile":0.98091,"provenance":"source"},"cwes":[],"references":[{"url":"https://demo.ripstech.com/projects/shopware_5.3.3","tags":["x_refsource_MISC"]},{"url":"https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe/","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/152995/Shopware-createInstanceFromNamedArguments-PHP-Object-Instantiation.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.6,"factors":[{"name":"EPSS percentile","points":19.62},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-05-23"},"metasploit":[{"name":"Shopware createInstanceFromNamedArguments PHP Object Instantiation RCE","module":"exploit/multi/http/shopware_createinstancefromnamedarguments_rce","type":"exploit","disclosureDate":"2019-05-09","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/shopware_createinstancefromnamedarguments_rce.rb"}],"first":{"date":"2019-05-09","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/shopware_createinstancefromnamedarguments_rce.rb"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"shopware/shopware","vulnerableRanges":["<5.3.4"],"patched":["5.3.4"],"from":["GHSA-6m27-7cqj-2mxw"],"provenance":"source"}],"summary":{"text":"Shopware versions before 5.3.4 contain a PHP object instantiation flaw in the loadPreviewAction() method of the Shopware_Controllers_Backend_ProductStream controller, where the sort parameter is handled unsafely. The flaw can be leveraged to instantiate a SimpleXMLElement object, which enables XML external entity (XXE) processing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:08Z"},"euvd":{"id":"EUVD-2022-2819","exploited":false,"provenance":"source"},"exploits":[{"id":46915,"url":"https://www.exploit-db.com/exploits/46915","title":"Shopware - createInstanceFromNamedArguments PHP Object Instantiation Remote Code Execution (Metasploit)","date":"2019-05-23","verified":true,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/152995/Shopware-createInstanceFromNamedArguments-PHP-Object-Instantiation.html"],"lineage":{"familyId":"fam-shopware-shopware-cve-2017-18357","children":[{"from":"CVE-2017-18357","to":"CVE-2019-12799","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"NOTE: this issue is a bypass for a CVE-2017-18357 whitelist patch.","from":"CVE.org","in":"CVE-2019-12799"},{"kind":"osv-related","provenance":"source","id":"GHSA-rf8f-hqjv-986p","via":"reference","url":"https://github.com/advisories/GHSA-6m27-7cqj-2mxw"}]}],"packageHistory":[{"cve":"CVE-2016-3109","published":"2017-04-21","fixed":"5.1.5","kev":false,"link":{"from":"CVE-2016-3109","to":"CVE-2017-18357","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:shopware/shopware","fromFixed":"5.1.5","toFixed":"5.3.4","daysApart":634}]}},{"cve":"CVE-2017-18357","published":"2019-01-15","fixed":"5.3.4","kev":false},{"cve":"CVE-2018-20713","published":"2019-01-15","fixed":"5.4.3","kev":false,"link":{"from":"CVE-2017-18357","to":"CVE-2018-20713","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:shopware/shopware","fromFixed":"5.3.4","toFixed":"5.4.3","daysApart":0}]}},{"cve":"CVE-2019-12935","published":"2019-06-23","fixed":"5.5.8","kev":false},{"cve":"CVE-2021-32712","published":"2021-06-24","fixed":"5.6.10","kev":false}],"package":"Packagist:shopware/shopware"}}