Skip to content

CVE-2021-36040 Magento Commerce Improper Input Validation Could Lead To Remote Code Execution

HighCVSS 7.2 EPSS 2.9%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper input validation vulnerability. An attacker with admin privileges can upload a specially crafted file to bypass file extension restrictions and could lead to remote code execution.

Upgrade path

5 packages: 4 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Adobe Magento Commerce <= 2.3.7; <= 2.4.2; <= 2.4.2-p1; All versions after 2.3.7, 2.4.2, 2.4.2-p1 Partially fixed
Adobe Commerce = 2.4.2-p1; >= 2.3.0, <= 2.3.7; >= 2.4.0, <= 2.4.2 after 2.3.7, 2.4.2 Fixed
Adobe Magento Open Source = 2.4.2-p1; >= 2.3.0, <= 2.3.7; >= 2.4.0, <= 2.4.2 after 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 165 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.4.2 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.3.7 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
Adobe Commerce >= 2.3.0, <= 2.3.7 No fix listed
Adobe Commerce >= 2.4.0, <= 2.4.2 No fix listed
Adobe Commerce = 2.4.2-p1 No fix listed
Adobe Magento Open Source >= 2.3.0, <= 2.3.7 No fix listed
Adobe Magento Open Source >= 2.4.0, <= 2.4.2 No fix listed
Adobe Magento Open Source = 2.4.2-p1 No fix listed
Adobe Magento Commerce <= 2.4.2 No fix listed
Adobe Magento Commerce <= 2.4.2-p1 No fix listed
Adobe Magento Commerce <= 2.3.7 No fix listed
Adobe Magento Commerce All versions No fix listed

References