CVE-2017-18357: Shopware/shopware Shopware XXE Vulnerability Vulnerability
MODERATECVE-2017-18357 is a MODERATE (CVSS 6.5) shopware xxe vulnerability vulnerability (CWE-610: Externally Controlled Reference to a Resource in Another Sphere) affecting Shopware/shopware libraries in the Packagist ecosystem. The issue involves shopware xxe vulnerability. Remediation is available by upgrading affected packages to version 5.3.4.
CVE-2017-18357 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2017-18357
To remediate this vulnerability, upgrade all affected Shopware/shopware dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade shopware/shopware to 5.3.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for shopware/shopware
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-18357, inspect your project dependencies for Shopware/shopware:
inspect dependencies for shopware/shopware
Analyze the terminal output to locate any version of Shopware/shopware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-610: Externally Controlled Reference to a Resource in Another Sphere, where the product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere. In Shopware/shopware, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-18357 Affected Shopware/shopware Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shopware/shopware
|
Packagist |
< 5.3.4
|
5.3.4
|
References
Frequently Asked Questions
What is CVE-2017-18357?
Which Shopware/shopware versions are affected?
What version fixes CVE-2017-18357?
Is shopware/shopware affected?
What is the CVSS score of CVE-2017-18357?
What CWE is associated with CVE-2017-18357?
How can I check Packagist dependencies for CVE-2017-18357?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6m27-7cqj-2mxw",
"modified" : "2023-07-26T21:43:32Z",
"published" : "2022-05-14T01:00:48Z",
"aliases" : [ "CVE-2017-18357" ],
"summary" : "Shopware XXE Vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "shopware/shopware"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-18357"
}, {
"type" : "WEB",
"url" : "https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe"
}, {
"type" : "WEB",
"url" : "https://demo.ripstech.com/projects/shopware_5.3.3"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/152995/Shopware-createInstanceFromNamedArguments-PHP-Object-Instantiation.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-610" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-26T21:43:32Z",
"nvd_published_at" : "2019-01-15T16:29:00Z"
}
}