Skip to main content
← All vulnerabilities
CVE-2021-32789

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.5.16
2 proofs of concept on GitHub, 1 Nuclei template

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • woocommerce woocommerce-gutenberg-products-block

    From 2.5.0 · fixed in 2.5.16

References 8

GitHub · woocommerce/woocommerce-gutenberg-products-block

GitHub · woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp

hackerone.com

woocommerce.com

wooengineering.wordpress.com

GitHub · projectdiscovery/nuclei-templates

GitHub · DonVorrin/CVE-2021-32789

GitHub · and0x00/CVE-2021-32789