VDB
Sign up
CRITICAL9.1

GHSA-wqr6-wv6c-p8fx

Magento improper access control vulnerability within Magento's Media Gallery Upload workflow

Quick fix

GHSA-wqr6-wv6c-p8fx — magento/community-edition: upgrade to the fixed version with the command below.

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

Details

Magento versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper access control vulnerability within Magento's Media Gallery Upload workflow. By storing a specially crafted file in the website gallery, an authenticated attacker with administrative privilege can gain access to delete the .htaccess file. This could result in the attacker achieving remote code execution.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/project-community-edition
Introduced in: 0

No fixed version published yet for magento/project-community-edition (composer). Pin to a known-safe version or switch to an alternative.

Packagist/magento/community-edition
Introduced in: 0Fixed in: 2.3.7-p1
Fixcomposer require magento/community-edition:^2.3.7-p1
Packagist/magento/community-edition

No fixed version published yet for magento/community-edition (composer). Pin to a known-safe version or switch to an alternative.

Packagist/magento/community-edition
Introduced in: 2.4.2-p1Fixed in: 2.4.2-p2
Fixcomposer require magento/community-edition:^2.4.2-p2
Packagist/magento/community-edition

No fixed version published yet for magento/community-edition (composer). Pin to a known-safe version or switch to an alternative.

References