VDB
Sign up
HIGH8.0

GHSA-w2p4-2c8c-2g7h

Magento OS command injection via the customer attribute save controller

Quick fix

GHSA-w2p4-2c8c-2g7h — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.3.6-p1

Details

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 0Fixed in: 2.3.6-p1
Fixcomposer require magento/community-edition:^2.3.6-p1
Packagist/magento/community-edition
Introduced in: 2.4.0Fixed in: 2.4.2
Fixcomposer require magento/community-edition:^2.4.2

References