CVE-2021-24171
WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload
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.
Exploitation
EPSS 1.90%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 80.2% of all scored CVEs. Scores of 2 Dec 2026.
Weakness
- CWE-434 Unrestricted Upload of File with Dangerous Type
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
WooCommerce Upload Files
Unknown
|
affected from 59.4, before 59.4
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
Other references
- https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/ wordfence.com
Source: the record CVE-2021-24171 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse