CVE-2021-32789
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2021-32789
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-07-26T16:15:07
- Last Modified Date
- 2021-08-05T18:25:27
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 2.5.0 | 2.5.16 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 2.6.0 | 2.6.2 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 2.7.0 | 2.7.2 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 2.8.0 | 2.8.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 2.9.0 | 2.9.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.0.0 | 3.0.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.1.0 | 3.1.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.2.0 | 3.2.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.3.0 | 3.3.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.4.0 | 3.4.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.5.0 | 3.5.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.6.0 | 3.6.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.7.0 | 3.7.2 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.8.0 | 3.8.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.9.0 | 3.9.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.0.0 | 4.0.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.1.0 | 4.1.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.2.0 | 4.2.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.3.0 | 4.3.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.4.0 | 4.4.3 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.5.0 | 4.5.3 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.6.0 | 4.6.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.7.0 | 4.7.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.8.0 | 4.8.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 4.9.0 | 4.9.2 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 5.0.0 | 5.0.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 5.1.0 | 5.1.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 5.2.0 | 5.2.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 5.3.0 | 5.3.2 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 5.4.0 | 5.4.1 |
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* | 1 | OR | 5.5.0 | 5.5.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp | Patch Third Party Advisory |
https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ | Permissions Required |
https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ | Vendor Advisory |
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 | Broken Link |
https://hackerone.com/reports/1260787 | Permissions Required |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32789 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32789 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:58:14 | Added to TrackCVE | |||
2022-12-05 06:56:27 | 2021-07-26T16:15Z | 2021-07-26T16:15:07 | CVE Published Date | updated |
2022-12-05 06:56:27 | 2021-08-05T18:25:27 | CVE Modified Date | updated | |
2022-12-05 06:56:27 | Analyzed | Vulnerability Status | updated |