Skip to content

CVE-2021-24171 WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload

CriticalCVSS 9.8 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
vanquish woocommerce upload files < 59.4 59.4 Fixed
wordpress woocommerce-upload-files(WordPress) < 59.4 59.4 Fixed

Affected products

ProductAffected versionsFixed in
vanquish woocommerce upload files < 59.4 59.4
wordpress woocommerce-upload-files(WordPress) < 59.4 59.4

References