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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31193Windows SSDP Service Elevation of Privilege Vulnerability7.8
- CVE-2021-31194OLE Automation Remote Code Execution Vulnerability8.8
- CVE-2021-31195Microsoft Exchange Server Remote Code Execution Vulnerabilit…6.5
- CVE-2021-31196Microsoft Exchange Server Remote Code Execution Vulnerabilit…7.2
- CVE-2021-31198Microsoft Exchange Server Remote Code Execution Vulnerabilit…7.8
- CVE-2021-31199Microsoft Enhanced Cryptographic Provider Elevation of Privi…5.2
- CVE-2021-31200Common Utilities Remote Code Execution Vulnerability7.2
- CVE-2021-31201Microsoft Enhanced Cryptographic Provider Elevation of Privi…5.2
- CVE-2021-31204.NET and Visual Studio Elevation of Privilege Vulnerability7.3
- CVE-2021-31205Windows SMB Client Security Feature Bypass Vulnerability6.5
- CVE-2021-31206Microsoft Exchange Server Remote Code Execution Vulnerabilit…7.6
- CVE-2021-31207Microsoft Exchange Server Security Feature Bypass Vulnerabil…6.6
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
