Vulnerabilities · 2021 · Yithemes
CVE-2021-3120
Yithemes Yith Woocommerce Gift Cards vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Yith Woocommerce Gift Cards. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yithemes Yith Woocommerce Gift Cards runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Yithemes products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.