Magento Commerce Media Gallery Upload Improper Access Control Could Lead To Remote Code Execution
Adobe Commerce
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| magento/project-community-edition Packagist |
| No fix yet |
| magento/community-edition Packagist |
|
|
Adobe Commerce
| Product | Affected | Fixed in |
|---|---|---|
| magento/project-community-edition Packagist |
| No fix yet |
| magento/community-edition Packagist |
|
|
2.4.2-p2Magento 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.
From the CVE record · adobe
Improper access control in the Media Gallery Upload workflow lets an authenticated attacker with administrative privileges store a specially crafted file in the website gallery and delete the .htaccess file. This could lead to remote code execution.
Operators of Adobe Commerce using magento/community-edition versions before 2.3.7-p1, version 2.3.7, versions from 2.4.2-p1 up to but not including 2.4.2-p2, or version 2.4.2, and operators using magento/project-community-edition version 2.0.2 or earlier, should check their installations.