GHSA-pjj4-jjgc-h3r8: Shopware/platform Remote Code Execution Vulnerability
MODERATEGHSA-pjj4-jjgc-h3r8 is a MODERATE remote code execution vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Shopware/platform libraries in the Packagist ecosystem. The issue involves authenticated remote code execution. Remediation is available by upgrading affected packages to version 6.3.5.2.
GHSA-pjj4-jjgc-h3r8 at a Glance
How to Fix GHSA-pjj4-jjgc-h3r8
To remediate this vulnerability, upgrade all affected Shopware/platform 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/platform to 6.3.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for shopware/platform
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pjj4-jjgc-h3r8, inspect your project dependencies for Shopware/platform:
inspect dependencies for shopware/platform
Analyze the terminal output to locate any version of Shopware/platform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.3.5.2), 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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Shopware/platform, 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
GHSA-pjj4-jjgc-h3r8 Affected Shopware/platform Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
shopware/platform
|
Packagist |
< 6.3.5.2
|
6.3.5.2
|
References
Frequently Asked Questions
What is GHSA-pjj4-jjgc-h3r8?
Which Shopware/platform versions are affected?
What version fixes GHSA-pjj4-jjgc-h3r8?
Is shopware/platform affected?
What CWE is associated with GHSA-pjj4-jjgc-h3r8?
How can I check Packagist dependencies for GHSA-pjj4-jjgc-h3r8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pjj4-jjgc-h3r8",
"modified" : "2021-03-12T22:28:01Z",
"published" : "2021-03-12T23:09:24Z",
"aliases" : [ ],
"summary" : "Authenticated remote code execution",
"details" : "### Impact\nAuthenticated remote code execution using plugin manager without ACL permissions.\n\n### Patches\nWe recommend to update to the current version 6.3.5.2. You can get the update to 6.3.5.2 regularly via the Auto-Updater or directly via the download overview.\n\nhttps://www.shopware.com/en/download/#shopware-6\n\n### Workarounds\nFor older versions of 6.1 and 6.2, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.\n\nhttps://store.shopware.com/en/detail/index/sArticle/518463/number/Swag136939272659\n\n### For more information\nhttps://docs.shopware.com/en/shopware-6-en/security-updates/security-update-03-2021",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "shopware/platform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.3.5.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.3.5.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/shopware/platform/security/advisories/GHSA-pjj4-jjgc-h3r8"
}, {
"type" : "WEB",
"url" : "https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-03-2021"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-03-12T22:28:01Z",
"nvd_published_at" : null
}
}