Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an Improper Neutralization of Special Elements Used In A Command via the Data collection endpoint. An attacker with admin privileges can upload a specially crafted file to achieve remote code execution.
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Adobe_commerce | Adobe | 2.3.0 (including) | 2.3.7 (including) |
Adobe_commerce | Adobe | 2.4.0 (including) | 2.4.2 (including) |
Adobe_commerce | Adobe | 2.4.2-p1 (including) | 2.4.2-p1 (including) |
Magento_open_source | Adobe | 2.3.0 (including) | 2.3.7 (including) |
Magento_open_source | Adobe | 2.4.0 (including) | 2.4.2 (including) |
Magento_open_source | Adobe | 2.4.2-p1 (including) | 2.4.2-p1 (including) |
Command injection vulnerabilities typically occur when:
Many protocols and products have their own custom command language. While OS or shell command strings are frequently discovered and targeted, developers may not realize that these other command languages might also be vulnerable to attacks. Command injection is a common problem with wrapper programs.