Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Automattic | Woocommerce Blocks | >= 2.5.0, < 2.5.16 |
Related Weaknesses (CWE)
References
- https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6Broken Link
- https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advPatchThird 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-viPermissions Required
- https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6Broken Link
- https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advPatchThird 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-viPermissions Required
FAQ
What is CVE-2021-32789?
CVE-2021-32789 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 be...
How severe is CVE-2021-32789?
CVE-2021-32789 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-32789?
Check the references section above for vendor advisories and patch information. Affected products include: Automattic Woocommerce Blocks.