Arbitrary Code Injection Affecting woocommerce/woocommerce package, versions <3.2.4


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.1% (40th percentile)
Expand this section
NVD
8.8 high

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 ID SNYK-PHP-WOOCOMMERCEWOOCOMMERCE-73653
  • published 16 Jan 2019
  • disclosed 15 Jan 2019
  • credit Unknown

How to fix?

Upgrade woocommerce/woocommerce to version 3.2.4 or higher.

Overview

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

Affected versions of this package are vulnerable to Arbitrary Code Injection. An attacker with user account could construct a specifically crafted string that will turn into a PHP object injection involving the includes/shortcodes/class-wc-shortcode-products.php WC_Shortcode_Products::get_products() use of cached queries within shortcodes.