gsd-2021-32789
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-32789", "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.", "id": "GSD-2021-32789" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-32789" ], "details": "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.", "id": "GSD-2021-32789", "modified": "2023-12-13T01:23:09.312876Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-32789", "STATE": "PUBLIC", "TITLE": "Arbitrary SQL (SQL injection) possible via the Store API component." }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "woocommerce-gutenberg-products-block", "version": { "version_data": [ { "version_value": "\u003e 2.5.0, \u003c 2.5.16" } ] } } ] }, "vendor_name": "woocommerce" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp", "refsource": "CONFIRM", "url": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp" }, { "name": "https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1", "refsource": "MISC", "url": "https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1" }, { "name": "https://hackerone.com/reports/1260787", "refsource": "MISC", "url": "https://hackerone.com/reports/1260787" }, { "name": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/", "refsource": "MISC", "url": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/" }, { "name": "https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/", "refsource": "MISC", "url": "https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/" } ] }, "source": { "advisory": "GHSA-6hq4-w6wv-8wrp", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=2.5.0,\u003c5.5.1", "affected_versions": "All versions starting from 2.5.0 before 5.5.1", "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2021-08-05", "description": "woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks.", "fixed_versions": [ "5.5.1" ], "identifier": "CVE-2021-32789", "identifiers": [ "CVE-2021-32789", "GHSA-6hq4-w6wv-8wrp" ], "not_impacted": "All versions before 2.5.0, all versions starting from 5.5.1", "package_slug": "packagist/woocommerce/woocommerce-blocks", "pubdate": "2021-07-26", "solution": "Upgrade to version 5.5.1 or above.", "title": "SQL Injection", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-32789", "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/" ], "uuid": "2e746969-1ebf-4fae-9701-86eb94338f6e" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "2.5.16", "versionStartIncluding": "2.5.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "2.6.2", "versionStartIncluding": "2.6.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "2.7.2", "versionStartIncluding": "2.7.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "2.8.1", "versionStartIncluding": "2.8.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "2.9.1", "versionStartIncluding": "2.9.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.0.1", "versionStartIncluding": "3.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.1.1", "versionStartIncluding": "3.1.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.2.1", "versionStartIncluding": "3.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.3.1", "versionStartIncluding": "3.3.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.4.1", "versionStartIncluding": "3.4.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.5.1", "versionStartIncluding": "3.5.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.6.1", "versionStartIncluding": "3.6.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.7.2", "versionStartIncluding": "3.7.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.8.1", "versionStartIncluding": "3.8.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "3.9.1", "versionStartIncluding": "3.9.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.0.1", "versionStartIncluding": "4.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.1.1", "versionStartIncluding": "4.1.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.2.1", "versionStartIncluding": "4.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.3.1", "versionStartIncluding": "4.3.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.4.3", "versionStartIncluding": "4.4.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.5.3", "versionStartIncluding": "4.5.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.6.1", "versionStartIncluding": "4.6.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.7.1", "versionStartIncluding": "4.7.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.8.1", "versionStartIncluding": "4.8.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "4.9.2", "versionStartIncluding": "4.9.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "5.0.1", "versionStartIncluding": "5.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "5.1.1", "versionStartIncluding": "5.1.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "5.2.1", "versionStartIncluding": "5.2.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "5.3.2", "versionStartIncluding": "5.3.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "5.4.1", "versionStartIncluding": "5.4.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*", "cpe_name": [], "versionEndExcluding": "5.5.1", "versionStartIncluding": "5.5.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2021-32789" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-89" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp", "refsource": "CONFIRM", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp" }, { "name": "https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/", "refsource": "MISC", "tags": [ "Permissions Required" ], "url": "https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/" }, { "name": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/" }, { "name": "https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1", "refsource": "MISC", "tags": [ "Broken Link" ], "url": "https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1" }, { "name": "https://hackerone.com/reports/1260787", "refsource": "MISC", "tags": [ "Permissions Required" ], "url": "https://hackerone.com/reports/1260787" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2021-08-05T18:25Z", "publishedDate": "2021-07-26T16:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.