HIGH7.2
GHSA-vvf9-fxhv-4rgj
Magento 2 Community Edition RCE
Quick fix
GHSA-vvf9-fxhv-4rgj — magento/community-edition: upgrade to the fixed version with the command below.
composer require magento/community-edition:^2.1.18Details
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 admin privileges to create or edit a product can execute arbitrary code via malicious XML layout updates.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/magento/community-edition
Introduced in:
2.1.0Fixed in: 2.1.18Fix
composer require magento/community-edition:^2.1.18Packagist/magento/community-edition
Introduced in:
2.2.0Fixed in: 2.2.9Fix
composer require magento/community-edition:^2.2.9Packagist/magento/community-edition
Introduced in:
2.3.0Fixed in: 2.3.2Fix
composer require magento/community-edition:^2.3.2References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7942[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7942.yaml[WEB]
- https://github.com/magento/magento2[PACKAGE]
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13[WEB]
- 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[WEB]