WooCommerce Upload Files <= 59.3 - Arbitrary File Upload

Unrestricted Upload of File with Dangerous Type
CVE CVE-2021-24171
CVSS Critical (9.8)
Publicly Published March 4, 2021
Last Updated January 22, 2024
Researcher Ram
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.

References

1 affected software package

Software Type Plugin
Software Slug woocommerce-upload-files (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 59.4
Patched Version
  • 59.4
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.