漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Extra Product Options & Add-Ons for WooCommerce <= 7.6.2 - Unauthenticated Arbitrary File Upload via 'wc_bookings_calculate_costs' AJAX Action
Vulnerability Description
The Extra Product Options & Add-Ons for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 7.6.2 via the `upload_file()` function called through the `wc_bookings_calculate_costs` AJAX action. This is due to the plugin's extension and MIME allow-list check existing exclusively inside the `woocommerce_add_to_cart_validation()` callback, which is never triggered when EPO's `adjust_booking_cost()` method calls `tm_add_cart_item_data()` directly — a path that reaches `wp_handle_upload()` with `test_type=false` and `ALLOW_UNFILTERED_UPLOADS` defined as `true`, fully bypassing WordPress core's filetype checks. This makes it possible for unauthenticated attackers to upload files of any extension, including `.php`, to the `wp-content/uploads/extra_product_options/` directory, potentially enabling remote code execution on the server. Exploitation requires WooCommerce Bookings or Easy Booking to be active and at least one bookable product to be configured with an EPO file-upload element.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
危险类型文件的不加限制上传