WooCommerce Blocks < 5.5 - Authenticated Blind SQL Injection

8.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2021-32789
CVSS 8.8 (High)
Publicly Published July 3, 2021
Last Updated August 7, 2023
Researcher Josh (jl-dos)

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.

Wordfence blocked 5,193 attacks targeting this vulnerability in the past 24 hours.

References

Share

Vulnerability Details for WooCommerce Blocks

Software Type Plugin
Software Slug woo-gutenberg-products-block (view on wordpress.org)
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 2.5.16, 2.6.2, 2.7.2, 2.8.1, 2.9.1, 3.0.1, 3.1.1, 3.2.1, 3.3.1, 3.4.1, 3.5.1, 3.6.1, 3.7.2, 3.8.1, 3.9.1, 4.0.1, 4.1.1, 4.2.1, 4.3.1, 4.4.3, 4.5.3, 4.6.1, 4.7.1, 4.8.1, 4.9.2, 5.0.1, 5.1.1, 5.2.1, 5.3.2, 5.4.1, 5.5.1
Affected Versions
  • 2.8
  • 2.9
  • 3.0
  • 3.1
Expand to see 27 more affected version ranges.
  • 3.2
  • 3.3
  • 3.4
  • 3.5
  • 3.6
  • 3.8
  • 3.9
  • 4.0
  • 4.1
  • 4.2
  • 4.3
  • 4.6
  • 4.7
  • 4.8
  • 5.0
  • 5.1
  • 5.2
  • 5.4
  • 5.5
  • <= 2.5.15
  • 2.6 - 2.6.1
  • 2.7 - 2.7.1
  • 3.7 - 3.7.1
  • 4.4 - 4.4.2
  • 4.5 - 4.5.2
  • 4.9 - 4.9.1
  • 5.3 - 5.3.1
Patched Versions
  • 2.5.16
  • 2.6.2
  • 2.7.2
  • 2.8.1
Expand to see 27 more patched versions.
  • 2.9.1
  • 3.0.1
  • 3.1.1
  • 3.2.1
  • 3.3.1
  • 3.4.1
  • 3.5.1
  • 3.6.1
  • 3.7.2
  • 3.8.1
  • 3.9.1
  • 4.0.1
  • 4.1.1
  • 4.2.1
  • 4.3.1
  • 4.4.3
  • 4.5.3
  • 4.6.1
  • 4.7.1
  • 4.8.1
  • 4.9.2
  • 5.0.1
  • 5.1.1
  • 5.2.1
  • 5.3.2
  • 5.4.1
  • 5.5.1

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation