What’s Vulnerable › Vulnerabilities

CVE-2021-32790: Blind SQL Injection possible via Authenticated Web-hook Search API Endpoint

Description

Woocommerce is an open source eCommerce plugin for WordPress. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce plugin between version 3.3.0 and 3.3.6. Malicious actors (already) having admin access, or API keys to the WooCommerce site can exploit vulnerable endpoints of `/wp-json/wc/v3/webhooks`, `/wp-json/wc/v2/webhooks` and other webhook listing API. Read-only SQL queries can be executed using this exploit, while data will not be returned, by carefully crafting `search` parameter information can be disclosed using timing and related attacks. Version 3.3.6 is the earliest version of Woocommerce with a patch for this vulnerability. There are no known workarounds other than upgrading.

Affected products

How to fix

Upgrade to a fixed version: Automattic WooCommerce 3.3.6, 3.4.8, 3.5.9, 3.6.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-32790 or the next vulnerability affects your stack