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

Critical 9.8 Published Updated

Unauthenticated attackers can upload arbitrary PHP files via extension bypass and path traversal, leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-24171?

CVE-2021-24171 is a critical vulnerability in Unknown WooCommerce Upload Files, published on 5 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-434

Which versions are affected by CVE-2021-24171?

It affects 1 product.

Products include Vanquish Woocommerce Upload Files.

How do I fix CVE-2021-24171?

No fix has been published for CVE-2021-24171 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-24171 being exploited?

There is no known exploitation of CVE-2021-24171 in the wild and no public exploit code.

Sources

Also known as GHSA-73q3-2843-4j2x.

Is CVE-2021-24171 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free