VDB
Sign up
MEDIUM5.4

GHSA-7gpv-xrjr-f5h4

Magento Path Traversal vulnerability

Quick fix

GHSA-7gpv-xrjr-f5h4 — magento/community-edition: upgrade to the fixed version with the command below.

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

Details

Magento versions 2.4.2 (and earlier), 2.4.1-p1 (and earlier) and 2.3.6-p1 (and earlier) are affected by a Path Traversal vulnerability when creating a store with child theme.Successful exploitation could lead to arbitrary file system write 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: 2.4.0Fixed in: 2.4.2-p1
Fixcomposer require magento/community-edition:^2.4.2-p1
Packagist/magento/community-edition
Introduced in: 0Fixed in: 2.3.7
Fixcomposer require magento/community-edition:^2.3.7
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.

References