CVE-2022-24086 Adobe Commerce and Magento Open Source Improper Input Validation

Exploited in the wild Critical 9.8 Published Updated

Attackers can achieve arbitrary code execution via improper input validation in the checkout process without user interaction.

Exploited in the wild
Since 15 Feb 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24086?

CVE-2022-24086 is a critical code injection vulnerability in Adobe Commerce, published on 16 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Adobe Commerce versions 2.4.3-p1 (and earlier) and 2.3.7-p2 (and earlier) are affected by an improper input validation vulnerability during the checkout process. Exploitation of this issue does not require user interaction and could result in arbitrary code execution.

Weakness: CWE-20

Which versions are affected by CVE-2022-24086?

5 open source packages ship an affected version, including magento/community-edition and magento. It affects 2 products.

PackageAffectedFixed in
magento/community-edition PackagistFrom 2.3.3-p12.3.7-p3
magento/community-edition PackagistFrom 2.3.3-p12.3.7-p3
magento/community-edition PackagistFrom 2.4.02.4.3-p2
magento/community-edition PackagistFrom 2.4.02.4.3-p2
magento BitnamiAll versions to 2.3.62.3.0

Products include Adobe Commerce, Adobe Magento.

How do I fix CVE-2022-24086?

Upgrade magento/community-edition to a fixed version for your release line: 2.3.7-p3 or 2.4.3-p2. US federal agencies must fix it by 1 Mar 2022.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-24086 being exploited?

Yes. Attackers have exploited CVE-2022-24086 in the wild since at least 15 Feb 2022.

Public exploit code: 1 Nuclei template and 9 proofs of concept on GitHub.

All Adobe Commerce vulnerabilities

Sources

Also known as BIT-magento-2022-24086, GHSA-f8fv-f786-9933.

Is CVE-2022-24086 in your software?

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

Check your SBOMs for free