CVE-2023-38208 Magento Open Source allows Improper Neutralization of Special Elements Used

Critical 9.1 Published Updated

An admin-privileged attacker can execute arbitrary OS commands in Adobe Commerce via improper input neutralization.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-38208?

CVE-2023-38208 is a critical command injection vulnerability in Adobe Commerce, published on 9 Aug 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Adobe Commerce versions 2.4.6-p1 (and earlier), 2.4.5-p3 (and earlier) and 2.4.4-p4 (and earlier) are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead to arbitrary code execution by an admin-privilege authenticated attacker. Exploitation of this issue does not require user interaction.

Weakness: CWE-78

Which versions are affected by CVE-2023-38208?

10 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 1 product.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p5
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p5
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p4
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p4
4 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p2
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p2
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Adobe Commerce.

How do I fix CVE-2023-38208?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p5, 2.4.5-p4 or 2.4.6-p2.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-38208 being exploited?

There is no known exploitation of CVE-2023-38208 in the wild and no public exploit code.

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-mxc9-g6m4-2v35.

Is CVE-2023-38208 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free