Vulnerability · Published Feb 22, 2021 · Assigned by mitre
CVE-2021-3120
Critical 9.8
In plain English
A critical-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 36.8% (higher than 99% of all known vulnerabilities).
Official 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.
Affected products (as reported)
References
- https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/ x_refsource_MISC
- https://github.com/guy-liu/yith-giftdrop x_refsource_MISC