Skip to content

CVE-2021-28566 Magento Commerce information disclosure during upload action leveraging a specially crafted file

LowCVSS 2.7 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

Magento versions 2.4.2 (and earlier), 2.4.1-p1 (and earlier) and 2.3.6-p1 (and earlier) are vulnerable to an Information Disclosure vulnerability when uploading a modified png file to a product image. Successful exploitation could lead to the disclosure of document root path by an unauthenticated attacker. Access to the admin console is required for successful exploitation.

Upgrade path

3 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
Adobe Magento Commerce <= 2.3.6-p1; <= 2.4.1-p1; <= 2.4.2; All versions after 2.3.6-p1, 2.4.1-p1, 2.4.2 Partially fixed
magento <= 2.4.2 after 2.4.2 Fixed
magento/community-edition(Packagist) = 2.3.0; = 2.3.1; = 2.3.2; = 2.3.2-p2 +16 more 2.3.7, 2.4.2-p1 Fixed

Affected products

ProductAffected versionsFixed in
magento/community-edition(Packagist) >= 2.4.0, < 2.4.2-p1 2.4.2-p1
magento/community-edition(Packagist) = 2.4.0 No fix listed
magento/community-edition(Packagist) = 2.4.0-p1 No fix listed
magento/community-edition(Packagist) = 2.4.1 No fix listed
magento/community-edition(Packagist) = 2.4.1-p1 No fix listed
magento/community-edition(Packagist) = 2.4.2 No fix listed
magento/community-edition(Packagist) >= 2.3.0, < 2.3.7 2.3.7
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 <= 2.4.2 No fix listed
Adobe Magento Commerce <= 2.4.2 No fix listed
Adobe Magento Commerce <= 2.3.6-p1 No fix listed
Adobe Magento Commerce <= 2.4.1-p1 No fix listed
Adobe Magento Commerce All versions No fix listed

References