TROYANOSYVIRUS
Back to CVEs

CVE-2021-3120

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/22/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

yithemes:yith_woocommerce_gift_cards

Weaknesses (CWE)

CWE-434

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.