GitHub Advisory Database
GHSA-5v5p-x8c2-mqxp
Magento 2 Community Edition RCE Vulnerability
Details
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 user with privileges to create products can craft custom layout update and use import product functionality to enable remote code execution.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | From 2.1.0 before 2.1.19 (fixed in 2.1.19) |
| Packagist | magento/community-edition | From 2.2.0 before 2.2.10 (fixed in 2.2.10) |
| Packagist | magento/community-edition | From 2.3.0 before 2.3.3 (fixed in 2.3.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-8122
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8122.yaml
- https://github.com/magento/magento2
- https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update
- https://web.archive.org/web/20220121051105/https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update