SQL Injection in WooCommerce Webhook API (CVE-2021-32790)
An SQL injection vulnerability exists in WooCommerce versions 3.3.0 through 3.3.6, affecting the webhook listing API endpoints (/wp-json/wc/v3/webhooks, /wp-json/wc/v2/webhooks). Attackers with admin access or valid API keys can exploit the search parameter to inject SQL queries. Although only read-only queries are possible and no direct data is returned, information disclosure is feasible via timing and related side-channel attacks.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Attackers with administrative access or API keys can perform read-only SQL injection attacks, potentially disclosing sensitive information from the database through timing or other side-channel techniques. The vulnerability does not allow direct data exfiltration or modification, but can still lead to significant information leakage.
If you can’t patch tonight, do this now.
Restrict access to API keys and administrative accounts. Monitor for suspicious activity on the affected API endpoints. However, full mitigation requires upgrading to a patched version.
Patch, then assume compromise.
Upgrade WooCommerce to version 3.3.6 or later, which contains the patch for this vulnerability. There are no known workarounds for affected versions.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.