CWE
434 22
Advisory Published
Updated

CVE-2021-24171: Malicious File Upload

First published: Mon Apr 05 2021(Updated: )

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.

Credit: contact@wpscan.com contact@wpscan.com

Affected SoftwareAffected VersionHow to fix
WooCommerce Upload Files WordPress<59.4
Vanquish Woocommerce Upload Files Wordpress<59.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203