Command Injection in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21018

 

Command Injection in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21018

Published: February 10, 2021


Vulnerability identifier: #VU50553
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21018
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary commands on the system.

The vulnerability exists due to improper input validation. A remote authenticated administrator can send a specially crafted HTTP request and execute arbitrary commands on the system.


Affected software

Magento Open Source
Adobe Commerce (formerly Magento Commerce)

How to mitigate CVE-2021-21018

Install updates from vendor's website.

Magento Open Source - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2
Adobe Commerce (formerly Magento Commerce) - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2

External References

Related Security Bulletins