Skip to content

CVE-2021-3120 YITH WooCommerce Gift Cards Premium <= 3.3.0 - Arbitrary File Upload

CriticalCVSS 9.8 EPSS 36.8%
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPress

Description

An arbitrary file upload vulnerability in the YITH WooCommerce Gift Cards Premium plugin before 3.3.1 for WordPress allows remote attackers to achieve remote code execution on the operating system in the security context of the web server. In order to exploit this vulnerability, an attacker must be able to place a valid Gift Card product into the shopping cart. An uploaded file is placed at a predetermined path on the web server with a user-specified filename and extension. This occurs because the ywgc-upload-picture parameter can have a .php value even though the intention was to only allow uploads of Gift Card images.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
wordpress yith-woocommerce-gift-cards-premium(WordPress) < 3.3.1 3.3.1 Fixed
YITHEMES yith woocommerce gift cards < 3.3.1 3.3.1 Fixed

Affected products

ProductAffected versionsFixed in
wordpress yith-woocommerce-gift-cards-premium(WordPress) < 3.3.1 3.3.1
YITHEMES yith woocommerce gift cards < 3.3.1 3.3.1

References