CVE-2026-136988

my.netkarin.net
جزئیات آسیب‌پذیری
CVE-2026-136988 بالا CVSS 8.1
Extra Product Options & Add-Ons for WooCommerce <= 7.6.2 - Arbitrary File Upload به صورت Unauthenticated از طریق AJAX Action 'wc_bookings_calculate_costs'
Extra Product Options & Add-Ons for WooCommerce <= 7.6.2 - Unauthenticated Arbitrary File Upload via 'wc_bookings_calculate_costs' AJAX Action
فروشنده: WordPress
تاریخ انتشار: 2026-12-04 04:26:58
Extra Product Options & Add-ons For WooCommerce

توضیح (فارسی)

افزونه Extra Product Options & Add-Ons for WooCommerce برای WordPress در تمام نسخه ها تا 7.6.2 و شامل 7.6.2 از طریق تابع upload_file() که از طریق AJAX action wc_bookings_calculate_costs فراخوانی می شود, در برابر Arbitrary File Upload آسیب پذیر است. دلیل این امر این است که بررسی allow-list پسوند و MIME افزونه فقط در داخل callback woocommerce_add_to_cart_validation() وجود دارد که هرگز فعال نمی شود زمانی که متد adjust_booking_cost() افزونه EPO مستقیما tm_add_cart_item_data() را فراخوانی می کند; مسیری که به wp_handle_upload() با test_type=false و ALLOW_UNFILTERED_UPLOADS تعریف شده به عنوان true می رسد و به طور کامل بررسی های filetype هسته WordPress را دور می زند. این امر باعث می شود مهاجمان unauthenticated بتوانند فایل هایی با هر پسوندی از جمله .php را در دایرکتوری wp-content/uploads/extra_product_options/ آپلود کنند که به طور بالقوه می کند Remote Code Execution روی server را فعال کند. سوء استفاده نیاز دارد که WooCommerce Bookings یا Easy Booking فعال باشد و حداقل یک محصول bookable با یک المان file-upload EPO پیکربندی شده باشد.

Original description (English)

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.

8.1 امتیاز CVSS
1.0٪ احتمال بهره‌برداری (EPSS)
— تاریخ گزارش بهره‌برداری
— تاریخ ثبت در CISA