Unauthenticated Arbitrary File Upload in YITH WooCommerce Gift Cards Premium Plugin <= 3.19.0
CVE-2022-45359 is an unauthenticated arbitrary file upload vulnerability in the YITH WooCommerce Gift Cards premium plugin for WordPress, affecting versions up to and including 3.19.0. The vulnerability allows an attacker to upload arbitrary files to the server without authentication, potentially leading to remote code execution. The flaw exists due to insufficient validation of file uploads in the plugin's code, allowing attackers to bypass security checks and upload malicious files (such as PHP web shells) to the WordPress installation.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation of this vulnerability allows remote, unauthenticated attackers to upload and execute arbitrary files on the affected WordPress server. This can result in full compromise of the site, including defacement, data theft, installation of malware, or use of the server as part of a botnet. The vulnerability provides an initial access vector for further attacks and lateral movement within the hosting environment.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the YITH WooCommerce Gift Cards premium plugin until a secure version can be installed. Restrict file upload permissions at the web server level and use a web application firewall (WAF) to block suspicious file upload attempts. Monitor server logs for signs of exploitation and unauthorized file uploads.
Patch, then assume compromise.
Upgrade the YITH WooCommerce Gift Cards premium plugin to a version later than 3.19.0 where the vulnerability has been patched. Ensure that all WordPress plugins are kept up to date and review plugin security advisories regularly.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.