CVE-2021-24171

published 5 Apr 2021 · updated 3 Aug 2024

WooCommerce Upload Files < 59.4 - Unauthenticated Arbitrary File Upload

5.0MediumEPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 59.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=59.4 <59.459.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24171 severity on Zeptric[![CVE-2021-24171](https://zeptric.io/badge/cve/CVE-2021-24171.svg)](https://zeptric.io/cve/CVE-2021-24171)