8.0high
Magento Commerce Unauthorized Data Modification Could Lead to Arbitrary Code Execution
- Severity
- 8.0high CVSS:3.0 by adobe
- Exploit likelihood
- 2.95% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- adobe
- Also known as
- GHSA-w2p4-2c8c-2g7hBIT-MAGENTO-2021-21015
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Adobe Magento Commerce | from unspecified up to 2.4.1, from unspecified up to 2.4.0-p1, from unspecified up to 2.3.6, from unspecified up to None | CVE List |
| magento/community-edition (Packagist) | before 2.3.6-p1, from 2.4.0 before 2.4.2 | GitHub Advisory Database |
| magento magento | before 2.3.6, 2.3.6, 2.4.0, 2.4.1 | NVD |
| magento (Bitnami) | before 2.3.6, from 2.4.0 before 2.4.2 | Bitnami Vulnerability Database |
All scores
| adobe | 8.0high CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.5high CVSS:2.0 | AV:N/AC:M/Au:S/C:C/I:C/A:C |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Magento versiones 2.4.1 (y anteriores), versiones 2.4.0-p1 (y anteriores) y versiones 2.3.6 (y anteriores), son vulnerables a una inyección de comandos del Sistema Operativo por medio del controlador de almacenamiento de atributos del cliente. Una explotación con éxito podría conllevar a una ejecución de código arbitraria por parte de un atacante autenticado. Es requerido un acceso a la consola de administración para una explotación con éxito
Bitnami Vulnerability Database
Magento versions 2.4.1 (and earlier), 2.4.0 (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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21015 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w2p4-2c8c-2g7h changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21015 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MAGENTO-2021-21015 changed 2026-09-08 | Apache-2.0 |