Vulnerability · Published Sep 6, 2023 · Assigned by adobe
CVE-2021-36036Magento Commerce Media Gallery Upload Improper Access Control Could Lead To Remote Code Execution
High 7.2
In plain English
A high-severity improper access control in Adobe Commerce from Adobe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | magento/community-edition | 2.3.7-p1 | GHSA-wqr6-wv6c-p8fx |
| Packagist | magento/community-edition | no fix listed | GHSA-wqr6-wv6c-p8fx |
| Packagist | magento/community-edition | 2.4.2-p2 | GHSA-wqr6-wv6c-p8fx |
| Packagist | magento/community-edition | no fix listed | GHSA-wqr6-wv6c-p8fx |
| Packagist | magento/project-community-edition | no fix listed | GHSA-wqr6-wv6c-p8fx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Adobe | Adobe Commerce | 0 – through 2.3.7 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://helpx.adobe.com/security/products/magento/apsb21-64.html vendor-advisory