WooCommerce Upload Files <= 59.3 - Arbitrary File Upload

9.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2021-24171
CVSS 9.8 (Critical)
Publicly Published March 4, 2021
Last Updated January 22, 2024
Researcher Ram - Wordfence

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.

References

Share

1 affected software package

Software Type Plugin
Software Slug woocommerce-upload-files
Patched? Yes
Remediation Update to version 59.4, or a newer patched version
Affected Version
  • < 59.4
Patched Version
  • 59.4

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation