VYPR
High severity7.2NVD Advisory· Published Sep 6, 2023· Updated Jun 17, 2026

CVE-2021-36036

CVE-2021-36036

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
magento/project-community-editionPackagist
<= 2.0.2
magento/community-editionPackagist
< 2.3.7-p12.3.7-p1
magento/community-editionPackagist
>= 2.4.2-p1, < 2.4.2-p22.4.2-p2

Affected products

12
  • Magento/Magento8 versions
    cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*+ 7 more
    • cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*range: <2.3.7
    • cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*range: <2.3.7
    • 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:*:*:*
  • osv-coords3 versions
    < 2.3.7+ 2 more
    • (no CPE)range: < 2.3.7
    • (no CPE)range: < 2.3.7-p1
    • (no CPE)range: <= 2.0.2
  • Range: 0

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.