CVE-2021-3120: WordPress plugin 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.

How to mitigate CVE-2021-3120

Time needed: 5 minutes.

Follow the instructions, as they will assist you in mitigating the WordPress vulnerability that been reported in CVE-2021-3120.

  1. Install the latest version of WordPress

    Navigate to the official WordPress website and download the latest version of WordPress. The latest version contains the CVE-2021-3120 fix.
    Update to the latest version

  2. Perform a vulnerability assessment

    Perform a scan on your WordPress environment(s), and check for vulnerabilities. Verify if CVE-2021-3120 has been mitigated.

  3. Utilize the references

    The CVE-2021-3120 references have been provided for a reason. Utilize these references and make sure that you are correctly informed.

References

  • github.com/guy-liu/yith-giftdrop
  • yithemes.com/themes/plugins/yith-woocommerce-gift-cards/
  • Share this information