The Breaking News WP plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 1.3. This is due to the brnwp_ajax_form AJAX endpoint lacking both authorization checks and CSRF verification, combined with insufficient path validation when the brnwp_theme option value is passed directly to an include() statement in the brnwp_show_breaking_news_wp() shortcode handler. While sanitize_text_field() is applied to user input, it does not strip directory traversal sequences (../). This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the brnwp_theme option with a directory traversal payload (e.g., ../../../../etc/passwd) and subsequently trigger file inclusion of arbitrary files on the server when the shortcode is rendered.
The Breaking News WP WordPress plugin versions up to 1.3 contains a Local File Inclusion vulnerability in the brnwp_ajax_form AJAX endpoint that lacks authorization and CSRF checks. Authenticated attackers with Subscriber-level access can exploit insufficient path validation to include arbitrary files on the server through directory traversal sequences.
ثغرة تضمين الملفات المحلية في إضافة Breaking News WP تسمح للمستخدمين المصرح لهم بمستوى المشترك فما فوق باستغلال نقطة نهاية AJAX التي تفتقر إلى فحوصات التفويض والتحقق من CSRF. يمكن للمهاجمين استخدام تسلسلات اجتياز المجلدات (../) لتجاوز التحقق من المسار وتضمين ملفات عشوائية من الخادم عند تصيير الاختصار.
Breaking News WP plugin for WordPress up to version 1.3 is vulnerable to Local File Inclusion due to missing authorization checks and CSRF verification in the AJAX endpoint. Attackers with basic user privileges can bypass path validation using directory traversal to include arbitrary files from the server.
Update the Breaking News WP plugin to version 1.4 or later immediately. Implement proper authorization checks and CSRF tokens on all AJAX endpoints. Apply strict input validation that removes directory traversal sequences (../) and use realpath() to verify file paths are within allowed directories. Restrict file inclusion to a whitelist of safe theme files.
قم بتحديث إضافة Breaking News WP إلى الإصدار 1.4 أو أحدث فوراً. طبق فحوصات التفويض الصحيحة وتوكنات CSRF على جميع نقاط نهاية AJAX. طبق التحقق الصارم من المدخلات الذي يزيل تسلسلات اجتياز المجلدات (../) واستخدم realpath() للتحقق من أن مسارات الملفات موجودة ضمن المجلدات المسموحة. قيد تضمين الملفات إلى قائمة بيضاء من ملفات المواضيع الآمنة.