The RepairBuddy – Repair Shop CRM & Booking Plugin for WordPress is vulnerable to unauthorized access in all versions up to, and including, 4.1132. The plugin exposes two AJAX handlers that, when combined, allow any authenticated user to modify admin-level plugin settings. First, the wc_rb_get_fresh_nonce() function (registered via wp_ajax and wp_ajax_nopriv hooks) allows any user to generate a valid WordPress nonce for any arbitrary action name by simply providing the nonce_name parameter, with no capability checks. Second, the wc_rep_shop_settings_submission() function only verifies the nonce (wcrb_main_setting_nonce) but performs no current_user_can() capability check before updating 15+ plugin options via update_option(). This makes it possible for authenticated attackers, with subscriber-level access and above, to modify all plugin configuration settings including business name, email, logo, menu label, GDPR settings, and more by first minting a valid nonce via the wc_rb_get_fresh_nonce endpoint and then calling the settings submission handler.
The RepairBuddy WordPress plugin allows authenticated users with subscriber-level access to modify admin-level settings through two vulnerable AJAX handlers that lack proper capability checks. An attacker can generate arbitrary nonces and use them to update critical plugin configurations without authorization.
يحتوي مكون RepairBuddy على ثغرتين في معالجات AJAX تسمح للمستخدمين المصرحين بمستوى المشترك بتعديل إعدادات المكون على مستوى المسؤول. الدالة الأولى wc_rb_get_fresh_nonce() تولد رموز nonce صحيحة لأي إجراء بدون فحوصات قدرات، والدالة الثانية wc_rep_shop_settings_submission() تتحقق من nonce فقط دون التحقق من صلاحيات المستخدم قبل تحديث أكثر من 15 خياراً في المكون.
The RepairBuddy WordPress plugin allows authenticated users with subscriber-level access to modify admin-level settings through two vulnerable AJAX handlers that lack proper capability checks. An attacker can generate arbitrary nonces and use them to update critical plugin configurations without authorization.
Update the RepairBuddy plugin to version 4.1133 or later immediately. Implement proper capability checks using current_user_can('manage_options') in the wc_rep_shop_settings_submission() function. Remove wp_ajax_nopriv hook from wc_rb_get_fresh_nonce() to restrict nonce generation to authenticated users only. Conduct a security audit of all AJAX handlers for similar vulnerabilities.
قم بتحديث مكون RepairBuddy إلى الإصدار 4.1133 أو أحدث فوراً. طبق فحوصات القدرات المناسبة باستخدام current_user_can('manage_options') في دالة wc_rep_shop_settings_submission(). أزل خطاف wp_ajax_nopriv من دالة wc_rb_get_fresh_nonce() لتقييد إنشاء nonce للمستخدمين المصرحين فقط. أجرِ تدقيقاً أمنياً لجميع معالجات AJAX للتحقق من ثغرات مماثلة.