VDB
Sign up
MEDIUM4.9

GHSA-7pr3-34rg-g53m

Magento Unrestricted file upload vulnerability

Quick fix

GHSA-7pr3-34rg-g53m — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.2.10

Details

An unrestricted file upload vulnerability exists in Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1. An authenticated admin user can manipulate the Synchronization feature in the Media File Storage of the database to transform uploaded JPEG file into a PHP file.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.2.0Fixed in: 2.2.10
Fixcomposer require magento/community-edition:^2.2.10
Packagist/magento/community-edition
Introduced in: 2.3.0Fixed in: 2.3.3
Fixcomposer require magento/community-edition:^2.3.3

References