CVE-2021-3120
CVSS V2 High 10
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2021-3120
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-22T15:15:13
- Last Modified Date
- 2023-02-01T02:23:04
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:yithemes:yith_woocommerce_gift_cards:*:*:*:*:*:wordpress:*:* | 1 | OR | 3.3.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 10
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/guy-liu/yith-giftdrop | Exploit Third Party Advisory |
https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/ | Vendor Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-3120 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3120 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:21:17 | Added to TrackCVE | |||
2022-12-05 22:35:06 | 2021-02-22T15:15Z | 2021-02-22T15:15:13 | CVE Published Date | updated |
2022-12-05 22:35:06 | 2021-03-03T15:53:50 | CVE Modified Date | updated | |
2022-12-05 22:35:06 | Analyzed | Vulnerability Status | updated | |
2022-12-07 20:12:36 | Analyzed | Undergoing Analysis | Vulnerability Status | updated |
2023-02-01 05:10:52 | 2023-02-01T02:23:04 | CVE Modified Date | updated | |
2023-02-01 05:10:52 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |