Woocommerce CSV importer <= 3.3.6 - Arbitrary File Deletion
Strategic Overview
- Status
- Patched in 3.4.0
- Affected Plugin
- Woocommerce CSV importer
- Affected Version
<= 3.3.6- CVSS
- 6.4Medium
- Weakness type
- CWE-73 · External Control of File Name or Path
- CVE
CVE pending
At a glance
This record tracks a medium-severity External Control of File Name or Path vulnerability in the Woocommerce CSV importer WordPress plugin, affecting versions <= 3.3.6. It carries a CVSS score of 6.4 (reachable over the network; low attack complexity). The issue is fixed in version 3.4.0; sites on affected versions should update now. Disclosed December 2017, reported by Lenon Leite.
Vulnerability Overview
The Woocommerce CSV importer plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 3.3.6 via the delete_export_file() function. This allows authenticated attackers to execute code on the server.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-73: External Control of File Name or Path
The product allows user input to control or influence paths or file names that are used in filesystem operations.
Remediation
Update to version 3.4.0, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Woocommerce CSV importer: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Woocommerce CSV importer 3.4.0 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Alerts
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C