CVE-2021-24171: WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload
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 "wcuffilename" parameter. It was also possible to perform a double extension attack and upload files to a different location via path traversal using the "wcufcurrentuploadsessionid" parameter.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this WooCommerce Upload Files WordPress plugin vulnerability?
The vulnerability ID for this WooCommerce Upload Files WordPress plugin vulnerability is CVE-2021-24171.
What is the severity of CVE-2021-24171?
The severity of CVE-2021-24171 is critical.
What is the affected software for CVE-2021-24171?
The affected software for CVE-2021-24171 is WooCommerce Upload Files WordPress plugin before version 59.4.
How can the vulnerability be exploited?
The vulnerability can be exploited by bypassing the sanitization process and uploading a file with a PHP extension.
Are there any references for CVE-2021-24171?
Yes, you can find references for CVE-2021-24171 at the following URLs: [URL 1](https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194), [URL 2](https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/).