SQL Injection Affecting woocommerce/woocommerce package, versions >=5.5.0, <5.5.2>=5.4.0, <5.4.2>=5.3.0, <5.3.1>=5.2.0, <5.2.3>=5.1.0, <5.1.1>=5.0.0, <5.0.1>=4.9.0, <4.9.3>=4.8.0, <4.8.1>=4.7.0, <4.7.2>=4.6.0, <4.6.3>=4.5.0, <4.5.3>=4.4.0, <4.4.2>=4.3.0, <4.3.4>=4.2.0, <4.2.3>=4.1.0, <4.1.2>=4.0.0, <4.0.2>=3.9.0, <3.9.4>=3.8.0, <3.8.2>=3.7.0, <3.7.2>=3.6.0, <3.6.6>=3.5.0, <3.5.9>=3.4.0, <3.4.8<3.3.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-WOOCOMMERCEWOOCOMMERCE-1533590
  • published27 Jul 2021
  • disclosed27 Jul 2021
  • creditUnknown

Introduced: 27 Jul 2021

CVE-2021-32790  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade woocommerce/woocommerce to version 5.5.2, 5.4.2, 5.3.1, 5.2.3, 5.1.1, 5.0.1, 4.9.3, 4.8.1, 4.7.2, 4.6.3, 4.5.3, 4.4.2, 4.3.4, 4.2.3, 4.1.2, 4.0.2, 3.9.4, 3.8.2, 3.7.2, 3.6.6, 3.5.9, 3.4.8, 3.3.6 or higher.

Overview

woocommerce/woocommerce is an eCommerce toolkit that helps you sell anything.

Affected versions of this package are vulnerable to SQL Injection. Malicious actors (already) having admin access, or API keys to the WooCommerce site can exploit vulnerable endpoints of /wp-json/wc/v3/webhooks, /wp-json/wc/v2/webhooks and other webhook listing API. Read-only SQL queries can be executed using this exploit, while data will not be returned, by carefully crafting search parameter information can be disclosed using timing and related attacks.

CVSS Scores

version 3.1