CVE-2021-32789
JSON

7.5high

Arbitrary SQL (SQL injection) possible via the Store API component.

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
17.2% (higher than 98% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
woocommerce woocommerce-gutenberg-products-block> 2.5.0, < 2.5.16CVE List
automattic woocommerce_blocksfrom 2.5.0 before 2.5.16, from 2.6.0 before 2.6.2, from 2.7.0 before 2.7.2, from 2.8.0 before 2.8.1, from 2.9.0 before 2.9.1, from 3.0.0 before 3.0.1, from 3.1.0 before 3.1.1, from 3.2.0 before 3.2.1 and 23 moreNVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

NVD (es)

woocommerce-gutenberg-products-block es un plugin de características para WooCommerce Gutenberg Blocks. Una vulnerabilidad de inyección SQL afecta a todos los sitios de WooCommerce que ejecutan el plugin de características WooCommerce Blocks entre la versión 2.5.0 y anterior a versión 2.5.16. Por medio de una URL cuidadosamente diseñada, se puede ejecutar una explotación contra el endpoint "wc/store/products/collection-data?calculate_attribute_counts[][taxonomy]" que permite la ejecución de una consulta sql de sólo lectura. Se presentan parches para muchas versiones de este paquete, a partir de la versión 2.5.16. No se conocen soluciones aparte de la actualización

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32789 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-32789 changed 2026-06-17Public domain