Arbitrary SQL (SQL injection) possible via the Store API component.
83Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 7.5epss 17%
from disclosure to weapon571 days
Published on NVDJul 26
1st PoC+571d
VulnCheckJul 23
exploitation probability
17%top 3% of all CVEs
observed exploitation
yesVulnCheck
2 public exploit(s)
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
woocommerce · woocommerce-gutenberg-products-blockpublic PoCs found — 2
vulncheckvulncheck.com/xdb/168cde77a0e8unverifiedvulncheckvulncheck.com/xdb/7b2868f81f64unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrphttps://hackerone.com/reports/1260787https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/