CVE-2021-24171

WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload

Published Apr 5, 2021 CVSS 3.1 · 9.8 Critical EPSS 1.9% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-11085 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.
History
Type Values Removed Values Added
First Time appeared Vanquish
Vanquish woocommerce Upload Files
CPEs cpe:2.3:a:woocommerce:upload_files:*:*:*:*:*:wordpress:*:* cpe:2.3:a:vanquish:woocommerce_upload_files:*:*:*:*:*:wordpress:*:*
Vendors & Products Woocommerce
Woocommerce upload Files
Vanquish
Vanquish woocommerce Upload Files
Weaknesses

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Aug 3, 2024, 7:21 PM
Reserved
Jan 14, 2021, 12:00 AM
Status
Modified
Published
Apr 5, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:39 AM