7.5
HIGH
CVE-2021-32789
WooCommerce Gutenberg Products Block SQL Injection 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.

INFO

Published Date :

July 26, 2021, 4:15 p.m.

Last Modified :

Nov. 21, 2024, 6:07 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-32789 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-32789 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Woocommerce woocommerce
1 Automattic woocommerce_blocks

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Authenticated Blind SQL Injection. Wordpress woocommerce plugin versions >= 2.5.0

Python

Updated: 10 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 8, 2024, 7:02 p.m. This repo has been linked 1 different CVEs too.

💣 Wordpress WooCommerce users dump exploit.

Go

Updated: 3 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Feb. 17, 2023, 7:51 p.m. This repo has been linked 1 different CVEs too.

essential templates for kenzer [DEPRECATED]

kenzer vulnerabilities kenzer-templates arpsyndicate

Python Shell Ruby

Updated: 1 month, 1 week ago
109 stars 34 fork 34 watcher
Born at : Sept. 18, 2020, 9:03 p.m. This repo has been linked 1654 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-32789 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-32789 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp
    Added Reference https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1
    Added Reference https://hackerone.com/reports/1260787
    Added Reference https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
    Added Reference https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 05, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp No Types Assigned https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp Patch, Third Party Advisory
    Changed Reference Type https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 No Types Assigned https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 Broken Link
    Changed Reference Type https://hackerone.com/reports/1260787 No Types Assigned https://hackerone.com/reports/1260787 Permissions Required
    Changed Reference Type https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ No Types Assigned https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ Vendor Advisory
    Changed Reference Type https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ No Types Assigned https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ Permissions Required
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.5.0 up to (excluding) 2.5.16 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.6.0 up to (excluding) 2.6.2 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.7.0 up to (excluding) 2.7.2 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.8.0 up to (excluding) 2.8.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.9.0 up to (excluding) 2.9.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.0.0 up to (excluding) 3.0.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.1.0 up to (excluding) 3.1.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.2.0 up to (excluding) 3.2.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.3.0 up to (excluding) 3.3.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.4.0 up to (excluding) 3.4.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.5.0 up to (excluding) 3.5.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.6.0 up to (excluding) 3.6.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.7.0 up to (excluding) 3.7.2 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.8.0 up to (excluding) 3.8.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.9.0 up to (excluding) 3.9.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.0.0 up to (excluding) 4.0.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.1.0 up to (excluding) 4.1.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.2.0 up to (excluding) 4.2.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.3.0 up to (excluding) 4.3.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.4.0 up to (excluding) 4.4.3 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.5.0 up to (excluding) 4.5.3 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.6.0 up to (excluding) 4.6.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.7.0 up to (excluding) 4.7.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.8.0 up to (excluding) 4.8.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.9.0 up to (excluding) 4.9.2 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 5.0.0 up to (excluding) 5.0.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 5.1.0 up to (excluding) 5.1.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 5.2.0 up to (excluding) 5.2.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 5.3.0 up to (excluding) 5.3.2 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 5.4.0 up to (excluding) 5.4.1 *cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 5.5.0 up to (excluding) 5.5.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-32789 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

36.65 }} 15.52%

score

0.97185

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability