Vulnerability · Published Sep 6, 2023 · Assigned by adobe

CVE-2021-36036Magento Commerce Media Gallery Upload Improper Access Control Could Lead To Remote Code Execution

High 7.2

In plain English

A high-severity improper access control in Adobe 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 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)2.1%top 18.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmagento/community-edition2.3.7-p1GHSA-wqr6-wv6c-p8fx
Packagistmagento/community-editionno fix listedGHSA-wqr6-wv6c-p8fx
Packagistmagento/community-edition2.4.2-p2GHSA-wqr6-wv6c-p8fx
Packagistmagento/community-editionno fix listedGHSA-wqr6-wv6c-p8fx
Packagistmagento/project-community-editionno fix listedGHSA-wqr6-wv6c-p8fx

Affected products (as reported)

VendorProductVersions
Adobe Adobe Commerce 0 – through 2.3.7

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

References