CVE-2021-36036

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

State
Published
Severity
7.2 High
Published
Sep 6, 2023
Updated
Feb 27, 2025
Reserved
Jun 30, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Hadobe

Weaknesses

  • CWE-284 Improper Access Control (CWE-284)

Affected Products

ProductVersions
Adobe CommerceAdobe
  • 2.3.7 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.