Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2021-3120: 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 ...
CVE-2021-3120 · published 5 years ago
Summary
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 ...
What to do
- Update yithemes yith_woocommerce_gift_cards to version 3.3.1 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| yithemes | yith_woocommerce_gift_cards |
< 3.3.1 cpe:2.3:a:yithemes:yith_woocommerce_gift_cards:*:*:*:*:premium:wordpress:*:* |
Original advisory text
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 ...
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.
References
- https://github.com/guy-liu/yith-giftdrop Exploit Third Party Advisory
- https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/ Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-434Unrestricted File Upload
Timeline
Published22 Feb 2021
Updated29 Sep 2026
First seen29 Sep 2026
Sources
CVE-2021-3120 · NVD
Track software like this
Free during beta