CSRF to Arbitrary File Upload in WooCommerce Stock Manager <=2.5.7
The WooCommerce Stock Manager WordPress plugin, up to and including version 2.5.7, contains a vulnerability in the /woocommerce-stock-manager/trunk/admin/views/import-export.php file where missing nonce and file validation allows an attacker to exploit Cross-Site Request Forgery (CSRF) to perform arbitrary file uploads. This can be triggered if an authenticated admin visits a malicious site, allowing the attacker to upload files to the server without proper authorization or validation.
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 allows an attacker to upload arbitrary files to the server, potentially leading to remote code execution, webshell deployment, or further compromise of the WordPress installation. The attack requires the victim to be authenticated and to visit a malicious site, but no further interaction is needed.
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the vulnerable import-export functionality, use web application firewalls to block suspicious file uploads, and educate administrators to avoid visiting untrusted sites while authenticated to the WordPress admin panel.
Patch, then assume compromise.
Upgrade the WooCommerce Stock Manager plugin to a version after 2.5.7 where proper nonce checks and file validation are implemented in the import-export functionality. Ensure all plugins are kept up to date and review code for proper CSRF and file validation protections.
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.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.