CVE-2021-32789

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

Configuration 1 (hide)

OR cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*

History

05 Aug 2021, 18:25

Type Values Removed Values Added
CWE CWE-89
CPE cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (MISC) https://hackerone.com/reports/1260787 - (MISC) https://hackerone.com/reports/1260787 - Permissions Required
References (CONFIRM) https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp - (CONFIRM) https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp - Patch, Third Party Advisory
References (MISC) https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 - (MISC) https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 - Broken Link
References (MISC) https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ - (MISC) https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ - Permissions Required
References (MISC) https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ - (MISC) https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ - Vendor Advisory

26 Jul 2021, 17:21

Type Values Removed Values Added
New CVE

Information

Published : 2021-07-26 16:15

Updated : 2024-02-04 21:47


NVD link : CVE-2021-32789

Mitre link : CVE-2021-32789

CVE.ORG link : CVE-2021-32789


JSON object : View

Products Affected

automattic

  • woocommerce_blocks
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')