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
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2021-02-22T14:24:34
Updated: 2024-08-03T16:45:51.372Z
Reserved: 2021-01-11T00:00:00
Link: CVE-2021-3120
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-02-22T15:15:13.367
Modified: 2024-11-21T06:20:55.750
Link: CVE-2021-3120
Redhat
No data.