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-p1Details
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
0No fixed version published yet for magento/project-community-edition (composer). Pin to a known-safe version or switch to an alternative.
0Fixed in: 2.3.7-p1composer require magento/community-edition:^2.3.7-p1No fixed version published yet for magento/community-edition (composer). Pin to a known-safe version or switch to an alternative.
2.4.2-p1Fixed in: 2.4.2-p2composer require magento/community-edition:^2.4.2-p2No fixed version published yet for magento/community-edition (composer). Pin to a known-safe version or switch to an alternative.