#VU31163 Code Injection in WooCommerce


Published: 2019-01-15 | Updated: 2020-07-17

Vulnerability identifier: #VU31163

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-18356

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
WooCommerce
Web applications / Modules and components for CMS

Vendor: WooCommerce

Description

The vulnerability allows a remote authenticated user to execute arbitrary code.

In the Automattic WooCommerce plugin before 3.2.4 for WordPress, an attack is possible after gaining access to the target site with a user account that has at least Shop manager privileges. The attacker then constructs 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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

WooCommerce: 3.2.0 - 3.2.3


External links
http://blog.ripstech.com/2018/woocommerce-php-object-injection/
http://woocommerce.wordpress.com/2017/11/16/woocommerce-3-2-4-security-fix-release-notes/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability