VDB
Sign up
HIGH7.2

GHSA-f8h9-7rpq-7qcc

Magento Filter extension bypass via crafted store configuration keys

Quick fix

GHSA-f8h9-7rpq-7qcc — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.1.18

Details

A file upload filter bypass 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. This can be exploited by an authenticated user with admin privileges to edit configuration keys to remove file extension filters, potentially resulting in the malicious upload and execution of malicious files on the server.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.1Fixed in: 2.1.18
Fixcomposer require magento/community-edition:^2.1.18
Packagist/magento/community-edition
Introduced in: 2.2Fixed in: 2.2.9
Fixcomposer require magento/community-edition:^2.2.9
Packagist/magento/community-edition
Introduced in: 2.3Fixed in: 2.3.2
Fixcomposer require magento/community-edition:^2.3.2

References