CVE-2021-32789
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 17.2%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 17.23% probability · 97th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-89
- Affected
- automattic/woocommerce blocks
- Source
- security-advisories@github.com
References
- https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1Broken Link
- https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrpPatch, Third Party Advisory
- https://hackerone.com/reports/1260787Permissions Required
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/Vendor Advisory
- https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/Permissions Required
- https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1Broken Link
- https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrpPatch, Third Party Advisory
- https://hackerone.com/reports/1260787Permissions Required
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/Vendor Advisory
- https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/Permissions Required
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.