Vulnerability · Published Sep 1, 2021 · Assigned by adobe

CVE-2021-36031Magento Commerce Path Traversal In `theme[preview_image]` Parameter Could Lead To Remote Code Execution

High 7.2

In plain English

A high-severity path traversal in Magento Commerce from Adobe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)3.1%top 12.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by a Path Traversal vulnerability via the `theme[preview_image]` parameter. An attacker with admin privileges could leverage this vulnerability to achieve remote code execution.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmagento/community-edition2.3.7-p1GHSA-7w95-qwhh-q9p3
Packagistmagento/community-editionno fix listedGHSA-7w95-qwhh-q9p3
Packagistmagento/community-edition2.4.2-p2GHSA-7w95-qwhh-q9p3
Packagistmagento/community-editionno fix listedGHSA-7w95-qwhh-q9p3
Packagistmagento/project-community-editionno fix listedGHSA-7w95-qwhh-q9p3

Affected products (as reported)

VendorProductVersions
Adobe Magento Commerce unspecified – through 2.4.2unspecified – through 2.4.2-p1unspecified – through 2.3.7unspecified – through None

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References