CVE-2021-3120

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductYithemes Yith Woocommerce Gift Cards
PublishedFeb 22, 2021
First seenFeb 22, 2021

How to fix

Update
  • yithemes yith_woocommerce_gift_cards3.3.1 or later

Affected products

ProductAffected versionsFixed in
yithemes yith_woocommerce_gift_cardsv < 3.3.13.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.