High severity · published Jul 26, 2021
CVE-2021-32789
woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks
7.5
CVSS
17.2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)17.2% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WB
Woocommerce Blocks · Automattic
2.5.0 before 2.5.16; 2.6.0 before 2.6.2; 2.7.0 before 2.7.2; 2.8.0 before 2.8.1; 2.9.0 before 2.9.1; 3.0.0 before 3.0.1; +25 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-32789
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-32789
Broken Link
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1
Patch
https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp
Permissions Required
https://hackerone.com/reports/1260787
Vendor Advisory
https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
Permissions Required
https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/
More from Woocommerce Blocks
5.4
CVE-2023-47777
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Automattic WooCommerce, Automattic WooCommerce Blocks allows Stored XSS.This…
