Vulnerability · Published Jul 26, 2021 · Assigned by GitHub_M

CVE-2021-32789Arbitrary SQL (SQL injection) possible via the Store API component.

High 7.5

In plain English

A high-severity SQL injection in woocommerce-gutenberg-products-block from woocommerce. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.2% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)17.2%top 2.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling2Nuclei, Public PoC

Official description

woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce Blocks feature plugin between version 2.5.0 and prior to version 2.5.16. Via a carefully crafted URL, an exploit can be executed against the `wc/store/products/collection-data?calculate_attribute_counts[][taxonomy]` endpoint that allows the execution of a read only sql query. There are patches for many versions of this package, starting with version 2.5.16. There are no known workarounds aside from upgrading.

Affected products (as reported)

VendorProductVersions
woocommerce woocommerce-gutenberg-products-block > 2.5.0, < 2.5.16

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References