CVE-2021-32790
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of data exposure.
- Exploit odds
- 1.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.3% in the next 30 days (EPSS).
- Severity: 4.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-89 · SQL injection
- Record status
- Modified
Affected
- Woocommerce < 3.3.6
- Woocommerce < 3.4.8
- Woocommerce < 3.5.9
- Woocommerce < 3.6.6
- Woocommerce < 3.7.2
- Woocommerce < 3.8.2
- Woocommerce < 3.9.4
- Woocommerce < 4.0.2
Attack profile CVSS 3.1 · 4.9
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-32790.md and follow it. Check whether this project is affected by CVE-2021-32790. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
References
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/