GitHub Advisory Database
GHSA-2x55-mg9r-24f7
Magento 2 Community Edition RCE Vulnerability
Details
A remote code execution vulnerability exists in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. An authenticated user with administrator privileges to layouts can execute arbitrary code through a combination of product import, crafted csv file and XML layout update.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | From 2.1 before 2.1.18 (fixed in 2.1.18) |
| Packagist | magento/community-edition | From 2.2 before 2.2.9 (fixed in 2.2.9) |
| Packagist | magento/community-edition | From 2.3 before 2.3.2 (fixed in 2.3.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7896
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7896.yaml
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13
- https://web.archive.org/web/20211206084839/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13