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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:yithemes:yith_woocommerce_gift_cards:*:*:*:*:premium:wordpress:*:*

History

21 Nov 2024, 06:20

Type Values Removed Values Added
References () https://github.com/guy-liu/yith-giftdrop - Exploit, Third Party Advisory () https://github.com/guy-liu/yith-giftdrop - Exploit, Third Party Advisory
References () https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/ - Vendor Advisory () https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/ - Vendor Advisory

Information

Published : 2021-02-22 15:15

Updated : 2024-11-21 06:20


NVD link : CVE-2021-3120

Mitre link : CVE-2021-3120

CVE.ORG link : CVE-2021-3120


JSON object : View

Products Affected

yithemes

  • yith_woocommerce_gift_cards
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type