CVE-2021-24171

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:woocommerce:upload_files:*:*:*:*:*:wordpress:*:*

History

21 Nov 2024, 05:52

Type Values Removed Values Added
References () https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194 - Third Party Advisory () https://wpscan.com/vulnerability/ed4288a1-f7e4-455f-b765-5ac343f87194 - Third Party Advisory
References () https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/ - Third Party Advisory () https://www.wordfence.com/blog/2021/03/critical-vulnerability-patched-in-woocommerce-upload-files/ - Third Party Advisory

Information

Published : 2021-04-05 19:15

Updated : 2024-11-21 05:52


NVD link : CVE-2021-24171

Mitre link : CVE-2021-24171

CVE.ORG link : CVE-2021-24171


JSON object : View

Products Affected

woocommerce

  • upload_files
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type