CVE-2021-3120
Last modified
CVE-2021-3120 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 36.78% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yithemes | Yith Woocommerce Gift Cards | < 3.3.1 |
References
- https://github.com/guy-liu/yith-giftdropExploit, Third Party Advisory
- https://github.com/guy-liu/yith-giftdropExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3120?
How severe is CVE-2021-3120?
How do I fix CVE-2021-3120?
Are you affected by CVE-2021-3120?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
