CVE-2021-28566
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.
How to fix
- magento/community-edition2.4.2-p1, 2.3.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| magento magento | v ≤ 2.4.2 | — |
| magento/community-editionPackagist | 2.4.0 ≤ v < 2.4.2-p1, 2.3.0 ≤ v < 2.3.7 | 2.4.2-p1, 2.3.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.