4.9medium
Blind SQL Injection possible via Authenticated Web-hook Search API Endpoint
- Severity
- 4.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.26% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| woocommerce woocommerce | >= 3.3.0, < 3.3.6, from 3.3.0 before 3.3.6, from 3.4.0 before 3.4.8, from 3.5.0 before 3.5.9, from 3.6.0 before 3.6.6, from 3.7.0 before 3.7.2, from 3.8.0 before 3.8.2, from 3.9.0 before 3.9.4 and 16 more | CVE List, NVD |
All scores
| GitHub_M | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Woocommerce es un plugin de comercio electrónico de código abierto para WordPress. Una vulnerabilidad de inyección SQL afecta a todos los sitios de WooCommerce que ejecutan el plugin de WooCommerce entre las versiones 3.3.0 y 3.3.6. Los actores maliciosos (una vez) teniendo acceso de administrador, o claves de API al sitio de WooCommerce pueden explotar los endpoints vulnerables de "/wp-json/wc/v3/webhooks", "/wp-json/wc/v2/webhooks" y otras API de listado de webhooks. Unas consultas SQL de sólo lectura pueden ser ejecutadas usando esta explotación, mientras que los datos no sean devueltos, al diseñar cuidadosamente la información del parámetro "search" puede ser divulgada usando ataques de tiempo y otros relacionados. La versión 3.3.6 es la primera versión de Woocommerce con un parche para esta vulnerabilidad. No se conocen otras soluciones aparte de la actualización
References
| https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ | vendor-advisory | |
| https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32790 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32790 changed 2026-06-17 | Public domain |