Skip to content

GHSA-6m27-7cqj-2mxw CVE-2017-18357

Shopware XXE Vulnerability

Medium Packagist
Severity
6.5 / 10
Medium · CVSS 3.0
Exploit chance (EPSS)
27.07%
Chance of exploitation in the next 30 days. Higher than 98.05% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-610 Externally Controlled Reference to a Resource in Another Sphere
Fix
5.3.4
Upgrade shopware/shopware to this version or later

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.

Affected versions

Packagist

PackageVulnerableFixed in
shopware/shopware
< 5.3.4
5.3.4

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

shopware/shopware Packagist → 5.3.4

composer
composer require shopware/shopware:^5.3.4

Severity breakdown

CVSS 3.0 6.5

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Weakness

CWE-610: Externally Controlled Reference to a Resource in Another Sphere

The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-7cw6-7h3h-v8pf
Shopware Has Improper Control of Generation of Code in Twig rendered views
High Also affects shopware/shopware
GHSA-6w82-v552-wjw2
Shopware Storefront Reflected XSS in Storefront Login Page
Medium Also affects shopware/shopware
GHSA-9v82-vcjx-m76j
Shopware: Reflective Cross Site-Scripting (XSS) in CMS components
High Also affects shopware/shopware
GHSA-83jv-4prm-34g7
Shopware Remote Code Execution Vulnerability
Critical Also affects shopware/shopware
GHSA-7336-ghhp-f2qj
Shopware Remote Code Execution Vulnerability
Critical Also affects shopware/shopware
GHSA-jqr7-5h7r-ch8p
Shopware Non-Persistent XSS in the Frontend
Medium Also affects shopware/shopware
GHSA-q3g4-2vw9-xv27
Shopware Remote Code Execution Vulnerability
Critical Also affects shopware/shopware
GHSA-gh66-fp7j-98v5
Shopware improper mail validation vulnerability
Medium Also affects shopware/shopware
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor