CVE-2024-39402: Magento OS Command ('OS Command Injection') vulnerability
Adobe Commerce versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead in arbitrary code execution by an admin attacker. Exploitation of this issue requires user interaction and scope is changed.
Other sources
Magento OS Command ('OS Command Injection') vulnerability
— Packagist
Magento versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead in arbitrary code execution by an admin attacker. Exploitation of this issue requires user interaction and scope is changed.
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.4.4-p10 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.4.5-p9 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.4.6-p7 - Upgrade
Upgrade
composer/magento/community-editionto a version that resolves this vulnerability.Fixed in 2.4.7-p2
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39402?
CVE-2024-39402 has a critical severity rating due to its potential for arbitrary code execution by an attacker with admin access.
How do I fix CVE-2024-39402?
To fix CVE-2024-39402, update Adobe Commerce to versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10, or later.
Which versions are vulnerable to CVE-2024-39402?
CVE-2024-39402 affects Adobe Commerce versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9, and earlier.
What type of vulnerability is CVE-2024-39402?
CVE-2024-39402 is classified as an OS Command Injection vulnerability.
Who is affected by CVE-2024-39402?
Administrators using Adobe Commerce versions listed in the CVE are at risk if they do not apply the necessary updates.