CVE-2021-3120: Malicious File Upload

Published Feb 22, 2021
·
Updated

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 Software

1 affected component
YITHEMES Yith Woocommerce Gift Cards Wordpress<3.3.1

Event History

Feb 22, 2021
CVE Published
via MITRE·02:24 PM
Data Sourced
via MITRE·02:24 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-3120?

The severity of CVE-2021-3120 is critical with a CVSS score of 9.8.

2

How does CVE-2021-3120 impact the YITH WooCommerce Gift Cards Premium plugin?

CVE-2021-3120 allows remote attackers to achieve remote code execution in the security context of the web server.

3

What software versions are affected by CVE-2021-3120?

The YITH WooCommerce Gift Cards Premium plugin versions up to and excluding 3.3.1 are affected by CVE-2021-3120.

4

How can an attacker exploit CVE-2021-3120?

To exploit CVE-2021-3120, an attacker must be able to upload arbitrary files to the vulnerable system.

5

Is there a fix available for CVE-2021-3120?

Yes, updating the YITH WooCommerce Gift Cards Premium plugin to version 3.3.1 or later will fix CVE-2021-3120.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203