Affected versions
Composermagento/community-edition
- Affected versions
- < 2.3.6-p1
- Fixed version
- 2.3.6-p1
Composermagento/community-edition
- Affected versions
- >= 2.4.0, < 2.4.2
- Fixed version
- 2.4.2
Exploitation
Description
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.
Links
- https://github.com/advisories/GHSA-w2p4-2c8c-2g7h
- https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497
- https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b
- https://helpx.adobe.com/security/products/magento/apsb21-08.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-21015

