The GenerateBlocks plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.2.0. This is due to missing object-level authorization checks in the /wp-json/generateblocks/v1/dynamic-tag-replacements REST endpoint. The endpoint only verifies that the user has the edit_posts capability but does not verify the user has permission to access the specific post or its associated data referenced by attacker-controlled id parameters in dynamic tag content. This makes it possible for authenticated attackers, with Contributor-level access and above, to extract sensitive information from arbitrary posts including author email addresses and non-protected post meta values by crafting dynamic tag payloads such as {{post_meta id:<target>|key:<meta_key>}} and {{post_title id:<target>|link:author_email}}.
The GenerateBlocks WordPress plugin versions up to 2.2.0 contain an Insecure Direct Object Reference vulnerability in the REST API endpoint that allows authenticated users to access sensitive information from arbitrary posts without proper authorization checks. Attackers with Contributor-level access can extract post metadata, author emails, and other protected content by manipulating dynamic tag parameters.
ثغرة Insecure Direct Object Reference (IDOR) في مكون GenerateBlocks لـ WordPress تسمح للمستخدمين المصرحين بمستوى المساهم وما فوق بالوصول إلى بيانات حساسة من أي منشور دون التحقق من الأذونات. يمكن للمهاجمين استخراج بيانات وصفية للمنشورات وعناوين بريد المؤلفين والمعلومات المحمية الأخرى من خلال معاملات dynamic tag مصنوعة بعناية.
GenerateBlocks plugin for WordPress up to version 2.2.0 has an authorization bypass vulnerability in its REST API that allows authenticated attackers to access sensitive post data without proper permission verification. Contributors and above can extract metadata and author information from any post using crafted dynamic tag payloads.
Update GenerateBlocks plugin to version 2.2.1 or later immediately. Implement object-level authorization checks in REST endpoints. Restrict REST API access to authenticated users only. Monitor and audit REST API calls for suspicious dynamic tag patterns. Consider disabling the dynamic-tag-replacements endpoint if not actively used.
قم بتحديث مكون GenerateBlocks إلى الإصدار 2.2.1 أو أحدث فوراً. طبق فحوصات التفويض على مستوى الكائن في نقاط نهاية REST. قيد الوصول إلى واجهة REST API للمستخدمين المصرحين فقط. راقب واستجوب استدعاءات REST API للأنماط المريبة. فكر في تعطيل نقطة النهاية إذا لم تكن قيد الاستخدام النشط.