cbcvebase.
CVE-2022-24086
published 2022-02-16

CVE-2022-24086: 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…

PriorityP196critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2022-03-01
Exploited in the wild
EPSS
99.20%
99.9th percentile
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.

Affected

13 ranges
VendorProductVersion rangeFixed in
adobecommerce< 2.3.02.3.0
adobecommerce
adobecommerce
adobecommerce2.3.3 – 2.3.6
adobecommerce2.4.0 – 2.4.2
adobemagento< 2.3.02.3.0
adobemagento<= 2.3.6
adobemagento
adobemagento
adobemagento2.4.0 – 2.4.2
adobemagento_commerceunspecified – 2.4.3-p1
magentocommunity-edition>= 2.3.3-p1 < 2.3.7-p32.3.7-p3
magentocommunity-edition>= 2.4.0 < 2.4.3-p22.4.3-p2

Detection & IOCsextracted from sources · hover to see the quote

url/checkout/cart/add/uenc/{{base64(BaseURL)}}%2C/product/{{product_id}}/
url/rest/default/V1/guest-carts/{entity_id}/shipping-information
url/rest/default/V1/guest-carts/{entity_id}/payment-information
command{{var this.getTemplateFilter().filter(foobar)}}{{var this.getTemplateFilter().addAfterFilterCallback(system).filter(cat$IFS/etc/passwd)}}
otherX-Magento-Tags
  • Check Point IPS signature name for this CVE is 'Adobe Commerce Command Injection (CVE-2022-24086)'; use this as a reference for IPS rule naming/tuning.
  • Identify vulnerable Magento/Adobe Commerce instances via Shodan by querying for the HTTP response header 'X-Magento-Tags'.
  • Exploitation occurs during the checkout process; monitor for template injection strings (e.g., 'getTemplateFilter', 'addAfterFilterCallback') in firstname/lastname fields of shipping or billing address JSON payloads.
  • Successful exploitation response contains 'root:.*:0:0:' pattern (passwd file content), which can be used as a regex match in network/proxy logs to confirm active exploitation.
  • Exploitation flow begins with a GET to the base URL to harvest a form_key (hidden field), followed by adding a product to cart, then GET /checkout, and finally POST to REST shipping/payment endpoints — monitor for this sequential pattern from a single source IP.
  • ·Exploitation does not require authentication (PR:N) or user interaction (UI:N), meaning unauthenticated guest checkout flows are the attack surface.
  • ·Affected versions are Adobe Commerce 2.4.3-p1 and earlier, and 2.3.7-p2 and earlier; detections should be scoped to these versions.
  • ·This vulnerability is listed in CISA KEV with a remediation due date of 2022-03-01, indicating confirmed in-the-wild exploitation; prioritize detection on internet-facing Magento/Adobe Commerce instances.
  • ·Attack volume was observed to increase towards the holiday season, suggesting opportunistic mass exploitation campaigns targeting online stores.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vulncheck9.8CRITICAL
cisa9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.