Kirby is an open-source content management system. Kirby's user permissions control which user role is allowed to perform specific actions to content models in the CMS. These permissions are defined for each role in the user blueprint (`site/blueprints/users/...`). It is also possible to customize the permissions for each target model in the model blueprints (such as in `site/blueprints/pages/...`) using the `options` feature. The permissions and options together control the authorization of user actions. Kirby provides the `pages.create`, `files.create` and `users.create` permissions (among others). These permissions can again be set in the user blueprint and/or in the blueprint of the target model via `options`. Prior to versions 4.9.0 and 5.4.0, Kirby allowed to override the `options` during the creation of pages, files and users by injecting custom dynamic blueprint configuration into the model data. The injected `options` could include `'create' => true`, which then caused an override of the permissions and options configured by the site developer in the user and model blueprints. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. The patched versions have updated the normalization code that is used during the creation of pages, files and users to include a filter for the `blueprint` property. This prevents the injection of dynamic blueprint configuration into the creation request.
Kirby CMS versions before 4.9.0 and 5.4.0 contain an authorization bypass vulnerability allowing attackers to override permission options during creation of pages, files, and users. This enables privilege escalation and unauthorized content manipulation in affected installations.
تحتوي نسخ Kirby السابقة للإصدار 4.9.0 و5.4.0 على ثغرة تجاوز تفويض تسمح للمهاجمين بتجاوز خيارات الأذونات المحددة في المخططات. يمكن للمهاجمين حقن تكوينات مخطط ديناميكية مخصصة لإنشاء صفحات وملفات ومستخدمين بدون الأذونات المطلوبة.
Kirby CMS versions before 4.9.0 and 5.4.0 contain an authorization bypass vulnerability allowing attackers to override permission options during creation of pages, files, and users. This enables privilege escalation and unauthorized content manipulation in affected installations.
Upgrade Kirby CMS to version 4.9.0 or 5.4.0 or later immediately. Review and audit all user roles and permissions configurations. Implement input validation and sanitization for blueprint configurations. Monitor for unauthorized content creation activities.
قم بترقية نظام Kirby CMS إلى الإصدار 4.9.0 أو 5.4.0 أو أحدث فوراً. قم بمراجعة وتدقيق جميع تكوينات أدوار المستخدمين والأذونات. طبق التحقق من صحة المدخلات والتنظيف للتكوينات المخطط لها. راقب أنشطة إنشاء المحتوى غير المصرح بها.