The Kubio plugin for WordPress is vulnerable to Arbitrary File Upload in versions up to and including 2.7.2. This is due to insufficient capability checks in the kubio_rest_pre_insert_import_assets() function, which is hooked to the rest_pre_insert_{post_type} filter for posts, pages, templates, and template parts. When a post is created or updated via the REST API, Kubio parses block attributes looking for URLs in the 'kubio' attribute namespace and automatically imports them via importRemoteFile() without verifying the user has the upload_files capability. This makes it possible for authenticated attackers with Contributor-level access and above to bypass WordPress's normal media upload restrictions and upload files fetched from external URLs to the media library, creating attachment posts in the database.
The Kubio WordPress plugin versions up to 2.7.2 contain an arbitrary file upload vulnerability in the REST API that allows authenticated contributors to bypass upload restrictions. Attackers can upload files from external URLs to the media library without proper capability verification.
يستغل المهاجمون دالة kubio_rest_pre_insert_import_assets() التي تفتقر إلى التحقق من صلاحيات المستخدم عند معالجة سمات الكتل. يمكن لمستخدمي المساهم وما فوق تحميل ملفات من عناوين URL خارجية مباشرة إلى مكتبة الوسائط دون الحاجة إلى صلاحية upload_files.
يحتوي مكون Kubio لـ WordPress على ثغرة تحميل ملفات تعسفية في إصدارات حتى 2.7.2 تسمح للمساهمين المصرح لهم بتجاوز قيود التحميل. يمكن للمهاجمين تحميل الملفات من عناوين URL خارجية إلى مكتبة الوسائط دون التحقق من الصلاحيات.
Update Kubio plugin to version 2.7.3 or later immediately. Restrict REST API access to trusted users only. Implement additional capability checks for file upload operations. Monitor media library for suspicious uploads from external sources.
قم بتحديث مكون Kubio إلى الإصدار 2.7.3 أو أحدث فوراً. قيّد وصول REST API للمستخدمين الموثوقين فقط. طبّق فحوصات قدرات إضافية لعمليات تحميل الملفات. راقب مكتبة الوسائط للتحميلات المريبة من مصادر خارجية.