ADVISORIES

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

EcosystemPackageAffected versions
Packagistmagento/community-edition
From 2.1 before 2.1.18 (fixed in 2.1.18)
Packagistmagento/community-edition
From 2.2 before 2.2.9 (fixed in 2.2.9)
Packagistmagento/community-edition
From 2.3 before 2.3.2 (fixed in 2.3.2)

References