Patchfirst
CVE-2021-32789 Public exploit High · 7.5 EPSS 17.2%

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

No fixed version listed yet.Check the vendor advisory. References ↓

woocommerce · woocommerce-gutenberg-products-block

Summary

The woocommerce-gutenberg-products-block feature plugin for WooCommerce Blocks, in versions from 2.5.0 up to but not including 2.5.16, contains an SQL injection flaw in the Store API's collection-data endpoint (wc/store/products/collection-data, via the calculate_attribute_counts parameter). An unauthenticated remote attacker who can reach the site can craft a URL to run a read-only SQL query through this endpoint, with no user interaction required.

Official description · CVE.org

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.

Breakdown
64.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 days before it was disclosed. Public exploit code (PoC-in-GitHub) appeared 19 months after disclosure.

  1. First seen exploitedVulnCheck KEV evidence3 days before
  2. Disclosedday 0
  3. Public exploit codePoC-in-GitHub+19 mo

Affected versions and fixes

as published in the CVE record

woocommerce woocommerce-gutenberg-products-block

Affected: > 2.5.0, < 2.5.16

References

5 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close