PT-2022-23049
CVE-2022-35943
·
تاريخ النشر
2022-08-12
·
تاريخ التحديث
2024-03-06
الوصف من
CVSS 3.1
5.9
متوسطةالمقاييسAV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions
CodeIgniter versions prior to 4.2.3
Shield versions prior to 1.0.0-beta.2
Description
This issue may allow attackers to bypass the CodeIgniter4 CSRF protection mechanism with CodeIgniter Shield. For this attack to succeed, the attacker must have direct or indirect control over a subdomain site of the target site. The attack is possible whether
ConfigSecurity::$csrfProtection is set to 'cookie' or 'session', and whether ConfigSecurity::$regenerate is true or false.Recommendations
Upgrade to CodeIgniter v4.2.3 or later and Shield v1.0.0-beta.2 or later.
As a workaround:
- set
ConfigSecurity::$csrfProtectionto'session' - remove old session data right after login
- regenerate CSRF token right after login
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾