// For flags

CVE-2021-32790

Blind SQL Injection possible via Authenticated Web-hook Search API Endpoint

Severity Score

4.9
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

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

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 5.5. 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.

*Credits: Josh (jl-dos)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-05-12 CVE Reserved
  • 2021-07-13 CVE Published
  • 2023-03-08 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.3.0 < 3.3.6
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.3.0 < 3.3.6"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.4.0 < 3.4.8
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.4.0 < 3.4.8"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.5.0 < 3.5.9
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.5.0 < 3.5.9"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.6.0 < 3.6.6
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.6.0 < 3.6.6"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.7.0 < 3.7.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.7.0 < 3.7.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.8.0 < 3.8.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.8.0 < 3.8.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 3.9.0 < 3.9.4
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 3.9.0 < 3.9.4"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.0.0 < 4.0.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.0.0 < 4.0.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.1.0 < 4.1.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.1.0 < 4.1.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.2.0 < 4.2.3
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.2.0 < 4.2.3"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.3.0 < 4.3.4
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.3.0 < 4.3.4"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.4.0 < 4.4.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.4.0 < 4.4.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.5.0 < 4.5.3
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.5.0 < 4.5.3"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.6.0 < 4.6.3
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.6.0 < 4.6.3"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.7.0 < 4.7.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.7.0 < 4.7.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.8.0 < 4.8.1
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.8.0 < 4.8.1"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 4.9.0 < 4.9.3
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 4.9.0 < 4.9.3"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 5.0.0 < 5.0.1
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 5.0.0 < 5.0.1"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 5.1.0 < 5.1.1
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 5.1.0 < 5.1.1"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 5.2.0 < 5.2.3
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 5.2.0 < 5.2.3"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 5.3.0 < 5.3.1
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 5.3.0 < 5.3.1"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 5.4.0 < 5.4.2
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 5.4.0 < 5.4.2"
wordpress
Affected
Woocommerce
Search vendor "Woocommerce"
Woocommerce
Search vendor "Woocommerce" for product "Woocommerce"
>= 5.5.0 < 5.5.1
Search vendor "Woocommerce" for product "Woocommerce" and version " >= 5.5.0 < 5.5.1"
wordpress
Affected