نسخههای متأثر
- نسخههای متأثر
- <= 3.7.12
- نسخهٔ اصلاحشده
- 3.7.13
- نسخههای متأثر
- >= 4.0.0, <= 4.1.4
- نسخهٔ اصلاحشده
- 4.1.5
بهرهبرداری
شرح آسیبپذیری
A sandbox bypass vulnerability was identified in the optional Twig safe mode feature (CMS_SAFE_MODE). Certain methods on the collect() helper were not properly restricted, allowing authenticated users with template editing permissions to bypass sandbox protections.
Impact
Bypass of Twig sandbox restrictions
Only affects installations with
CMS_SAFE_MODEenabled (disabled by default)Requires authenticated backend access with CMS template editing permissions
Patches
The vulnerability has been patched in v4.1.5 and v3.7.13. All users who have enabled safe mode are encouraged to upgrade to the latest patched version.
Workarounds
If upgrading immediately is not possible:
Disable
CMS_SAFE_MODEif untrusted template editing is not requiredRestrict CMS template editing permissions to fully trusted administrators only
References
Reported by Łukasz Rybak
پیوندها
گزارشدهندگان
- lukasz-rybak
- daftspunk

