CVE-2017-18357 Shopware XXE Vulnerability

Medium 6.5 Published Updated

Attackers can exploit PHP object instantiation to trigger XXE, potentially reading sensitive data or executing code in Shopware.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-18357?

CVE-2017-18357 is a medium-severity vulnerability in Shopware Shopware, published on 15 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-610

Which versions are affected by CVE-2017-18357?

2 open source packages ship an affected version, including shopware/shopware. It affects 1 product.

PackageAffectedFixed in
shopware/shopware PackagistAll versions5.3.4
shopware/shopware PackagistAll versions5.3.4

Products include Shopware Shopware.

How do I fix CVE-2017-18357?

Upgrade shopware/shopware to 5.3.4 or later.

Is CVE-2017-18357 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-18357 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-6m27-7cqj-2mxw.

Is CVE-2017-18357 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free