Skip to content

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

HighCVSS 7.2 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHP

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.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
Adobe Commerce <= 2.3.7 after 2.3.7 Fixed
magento < 2.3.7; = 2.3.7; = 2.4.2; = 2.4.2-p1 +1 more 2.3.7, 2.4.2 Fixed
magento/community-edition(Packagist) < 2.3.7-p1; = 0.1.0-alpha89; = 0.1.0-alpha90; = 0.1.0-alpha91 +122 more 2.3.7-p1, 2.4.2-p2 Fixed
magento/project-community-edition(Packagist) <= 2.0.2; = 0.1.0-alpha89; = 0.1.0-alpha90; = 0.1.0-alpha91 +50 more after 2.0.2 Fixed

Affected products

ProductAffected versionsFixed in
magento/project-community-edition(Packagist) <= 2.0.2 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha100 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha101 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha102 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha103 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha104 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha105 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha106 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha107 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha108 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha89 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha90 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha91 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha92 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha93 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha94 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha95 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha96 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha97 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha98 No fix listed
magento/project-community-edition(Packagist) = 0.1.0-alpha99 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta1 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta10 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta11 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta2 No fix listed
Show 161 more
ProductAffected versionsFixed in
magento/project-community-edition(Packagist) = 0.42.0-beta3 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta4 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta5 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta6 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta7 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta8 No fix listed
magento/project-community-edition(Packagist) = 0.42.0-beta9 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta1 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta10 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta11 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta12 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta13 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta14 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta15 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta16 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta2 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta3 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta4 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta5 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta6 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta7 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta8 No fix listed
magento/project-community-edition(Packagist) = 0.74.0-beta9 No fix listed
magento/project-community-edition(Packagist) = 1.0.0-beta No fix listed
magento/project-community-edition(Packagist) = 2.0.0 No fix listed
magento/project-community-edition(Packagist) = 2.0.0-rc No fix listed
magento/project-community-edition(Packagist) = 2.0.0-rc2 No fix listed
magento/project-community-edition(Packagist) = 2.0.1 No fix listed
magento/project-community-edition(Packagist) = 2.0.2 No fix listed
magento/community-edition(Packagist) < 2.3.7-p1 2.3.7-p1
magento/community-edition(Packagist) = 0.1.0-alpha100 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha101 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha102 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha103 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha104 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha105 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha106 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha107 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha108 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha89 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha90 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha91 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha92 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha93 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha94 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha95 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha96 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha97 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha98 No fix listed
magento/community-edition(Packagist) = 0.1.0-alpha99 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta1 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta10 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta11 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta2 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta3 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta4 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta5 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta6 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta7 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta8 No fix listed
magento/community-edition(Packagist) = 0.42.0-beta9 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta1 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta10 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta11 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta12 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta13 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta14 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta15 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta16 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta2 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta3 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta4 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta5 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta6 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta7 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta8 No fix listed
magento/community-edition(Packagist) = 0.74.0-beta9 No fix listed
magento/community-edition(Packagist) = 1.0.0-beta No fix listed
magento/community-edition(Packagist) = 1.0.0-beta2 No fix listed
magento/community-edition(Packagist) = 1.0.0-beta3 No fix listed
magento/community-edition(Packagist) = 1.0.0-beta4 No fix listed
magento/community-edition(Packagist) = 1.0.0-beta5 No fix listed
magento/community-edition(Packagist) = 1.0.0-beta6 No fix listed
magento/community-edition(Packagist) = 2.0.0 No fix listed
magento/community-edition(Packagist) = 2.0.0-rc No fix listed
magento/community-edition(Packagist) = 2.0.0-rc2 No fix listed
magento/community-edition(Packagist) = 2.0.1 No fix listed
magento/community-edition(Packagist) = 2.0.10 No fix listed
magento/community-edition(Packagist) = 2.0.11 No fix listed
magento/community-edition(Packagist) = 2.0.12 No fix listed
magento/community-edition(Packagist) = 2.0.13 No fix listed
magento/community-edition(Packagist) = 2.0.14 No fix listed
magento/community-edition(Packagist) = 2.0.15 No fix listed
magento/community-edition(Packagist) = 2.0.16 No fix listed
magento/community-edition(Packagist) = 2.0.17 No fix listed
magento/community-edition(Packagist) = 2.0.18 No fix listed
magento/community-edition(Packagist) = 2.0.2 No fix listed
magento/community-edition(Packagist) = 2.0.3 No fix listed
magento/community-edition(Packagist) = 2.0.4 No fix listed
magento/community-edition(Packagist) = 2.0.5 No fix listed
magento/community-edition(Packagist) = 2.0.6 No fix listed
magento/community-edition(Packagist) = 2.0.7 No fix listed
magento/community-edition(Packagist) = 2.0.8 No fix listed
magento/community-edition(Packagist) = 2.0.9 No fix listed
magento/community-edition(Packagist) = 2.1.0 No fix listed
magento/community-edition(Packagist) = 2.1.0-rc1 No fix listed
magento/community-edition(Packagist) = 2.1.0-rc2 No fix listed
magento/community-edition(Packagist) = 2.1.0-rc3 No fix listed
magento/community-edition(Packagist) = 2.1.1 No fix listed
magento/community-edition(Packagist) = 2.1.10 No fix listed
magento/community-edition(Packagist) = 2.1.11 No fix listed
magento/community-edition(Packagist) = 2.1.12 No fix listed
magento/community-edition(Packagist) = 2.1.13 No fix listed
magento/community-edition(Packagist) = 2.1.14 No fix listed
magento/community-edition(Packagist) = 2.1.15 No fix listed
magento/community-edition(Packagist) = 2.1.16 No fix listed
magento/community-edition(Packagist) = 2.1.17 No fix listed
magento/community-edition(Packagist) = 2.1.18 No fix listed
magento/community-edition(Packagist) = 2.1.2 No fix listed
magento/community-edition(Packagist) = 2.1.3 No fix listed
magento/community-edition(Packagist) = 2.1.4 No fix listed
magento/community-edition(Packagist) = 2.1.5 No fix listed
magento/community-edition(Packagist) = 2.1.6 No fix listed
magento/community-edition(Packagist) = 2.1.7 No fix listed
magento/community-edition(Packagist) = 2.1.8 No fix listed
magento/community-edition(Packagist) = 2.1.9 No fix listed
magento/community-edition(Packagist) = 2.2.0 No fix listed
magento/community-edition(Packagist) = 2.2.1 No fix listed
magento/community-edition(Packagist) = 2.2.10 No fix listed
magento/community-edition(Packagist) = 2.2.11 No fix listed
magento/community-edition(Packagist) = 2.2.2 No fix listed
magento/community-edition(Packagist) = 2.2.3 No fix listed
magento/community-edition(Packagist) = 2.2.4 No fix listed
magento/community-edition(Packagist) = 2.2.5 No fix listed
magento/community-edition(Packagist) = 2.2.6 No fix listed
magento/community-edition(Packagist) = 2.2.7 No fix listed
magento/community-edition(Packagist) = 2.2.8 No fix listed
magento/community-edition(Packagist) = 2.2.9 No fix listed
magento/community-edition(Packagist) = 2.3.0 No fix listed
magento/community-edition(Packagist) = 2.3.1 No fix listed
magento/community-edition(Packagist) = 2.3.2 No fix listed
magento/community-edition(Packagist) = 2.3.2-p2 No fix listed
magento/community-edition(Packagist) = 2.3.3 No fix listed
magento/community-edition(Packagist) = 2.3.3-p1 No fix listed
magento/community-edition(Packagist) = 2.3.4 No fix listed
magento/community-edition(Packagist) = 2.3.4-p2 No fix listed
magento/community-edition(Packagist) = 2.3.5 No fix listed
magento/community-edition(Packagist) = 2.3.5-p1 No fix listed
magento/community-edition(Packagist) = 2.3.5-p2 No fix listed
magento/community-edition(Packagist) = 2.3.6 No fix listed
magento/community-edition(Packagist) = 2.3.6-p1 No fix listed
magento/community-edition(Packagist) = 2.3.7 No fix listed
magento/community-edition(Packagist) >= 2.4.2-p1, < 2.4.2-p2 2.4.2-p2
magento/community-edition(Packagist) = 2.4.2-p1 No fix listed
magento/community-edition(Packagist) = 2.4.2 No fix listed
magento < 2.3.7 2.3.7
magento >= 2.4.0, < 2.4.2 2.4.2
magento = 2.3.7 No fix listed
magento = 2.4.2 No fix listed
magento = 2.4.2-p1 No fix listed
Adobe Commerce <= 2.3.7 No fix listed

References