CVE-2021-36036

Severity CVSS v4.0:
Pending analysis
Type:
CWE-284 Improper Access Control
Publication date:
06/09/2023
Last modified:
14/09/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:* 2.3.7 (excluding)
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* 2.3.7 (excluding)
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:* 2.4.0 (including) 2.4.2 (excluding)
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* 2.4.0 (including) 2.4.2 (excluding)
cpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:*
cpe:2.3:a:magento:magento:2.3.7:-:*:*:open_source:*:*:*
cpe:2.3:a:magento:magento:2.4.2:-:*:*:commerce:*:*:*
cpe:2.3:a:magento:magento:2.4.2:-:*:*:open_source:*:*:*
cpe:2.3:a:magento:magento:2.4.2:p1:*:*:commerce:*:*:*
cpe:2.3:a:magento:magento:2.4.2:p1:*:*:open_source:*:*:*


References to Advisories, Solutions, and Tools