Vulnerability · Published Apr 5, 2021 · Assigned by WPScan
CVE-2021-24171WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload
Critical 9.8
In plain English
A critical-severity unrestricted file upload in WooCommerce Upload Files from Unknown. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities).
Official description
The WooCommerce Upload Files WordPress plugin before 59.4 ran a single sanitization pass to remove blocked extensions such as .php. It was possible to bypass this and upload a file with a PHP extension by embedding a "blocked" extension within another "blocked" extension in the "wcuf_file_name" parameter. It was also possible to perform a double extension attack and upload files to a different location via path traversal using the "wcuf_current_upload_session_id" parameter.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Unknown | WooCommerce Upload Files | 59.4 – before 59.4 |
Weakness: CWE-434