Magento 2 Community Edition RCE Vulnerability
Impact
A remote code execution vulnerability exists in Magento 2.1 prior to 2.1.19, Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3. An authenticated admin user with import product privileges can delete files through bulk product import and inject code into XSLT file. The combination of these manipulations can lead to remote code execution.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.1.0 before 2.1.19Ecosystem versions | 2.1.19 |
| From 2.2.0 before 2.2.10Ecosystem versions | 2.2.10 |
| From 2.3.0 before 2.3.3Ecosystem versions | 2.3.3 |
Version evidence: OSV · GHSA-j63v-wcf9-c9hm
View original version evidence (33 explicit versions)
Original source description
A remote code execution vulnerability exists in Magento 2.1 prior to 2.1.19, Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3. An authenticated admin user with import product privileges can delete files through bulk product import and inject code into XSLT file. The combination of these manipulations can lead to remote code execution.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2019-8119
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8119.yaml
- Source reference github.com/magento/magento2
- Security advisory magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update
- Security advisory web.archive.org/web/20220121051105/https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update