CVE-2021-36036

Magento Commerce Media Gallery Upload Improper Access Control Could Lead To Remote Code Execution

Published Sep 6, 2023 CVSS 3.1 · 7.2 High EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-22669 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.
Github GHSA Github GHSA GHSA-wqr6-wv6c-p8fx Magento improper access control vulnerability within Magento's Media Gallery Upload workflow
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
adobe
Published
Updated
Feb 27, 2025, 9:00 PM
Reserved
Jun 30, 2021, 6:34 PM
Status
Modified
Published
Sep 6, 2023, 2:15 PM
Modified
Jun 17, 2026, 3:58 AM