SQL Injection in Automattic Woocommerce Blocks
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.
Vulnerability class: SQL Injection
EPSS: 0.172 (96.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Automattic Woocommerce_blocks
- Woocommerce Woocommerce-gutenberg-products-block — versions > 2.5.0, < 2.5.16
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
- security-advisories@github.com (x_refsource_MISC, Broken Link)
- security-advisories@github.com (Permissions Required, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Vendor Advisory)
- security-advisories@github.com (Permissions Required, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-32789?
- CVE-2021-32789 is a high-severity vulnerability in Automattic Woocommerce Blocks, classified under SQL Injection. CVSS score: 7.5/10. Published 2021-07-26.
- How severe is CVE-2021-32789?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-32789 known to be exploited?
- 9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.